HAL_ChibiOS: enable stack checking on f303 boards
This commit is contained in:
parent
573cd6db6d
commit
c778d14fd3
@ -144,4 +144,7 @@ RAM_RESERVE_START 256
|
||||
env ROMFS_UNCOMPRESSED True
|
||||
|
||||
# reduce the number of CAN RX Buffer
|
||||
define HAL_CAN_RX_QUEUE_SIZE 32
|
||||
define HAL_CAN_RX_QUEUE_SIZE 32
|
||||
|
||||
# disable stack checking to reduce flash cost
|
||||
define CH_DBG_ENABLE_STACK_CHECK FALSE
|
||||
|
@ -821,12 +821,6 @@ def write_mcu_config(f):
|
||||
if env_vars.get('ROMFS_UNCOMPRESSED', False):
|
||||
f.write('#define HAL_ROMFS_UNCOMPRESSED\n')
|
||||
|
||||
if 'AP_PERIPH' in env_vars:
|
||||
f.write('''
|
||||
#define CH_DBG_ENABLE_STACK_CHECK FALSE
|
||||
''')
|
||||
|
||||
|
||||
def write_ldscript(fname):
|
||||
'''write ldscript.ld for this board'''
|
||||
flash_size = get_config('FLASH_USE_MAX_KB', type=int, default=0)
|
||||
|
Loading…
Reference in New Issue
Block a user