mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: enable ISRs during flash ops in bootloader
this makes a huge difference in AP_Periph bootloader speeed, where disabling interrupts prevents CAN packets from being received
This commit is contained in:
parent
f353ae4933
commit
fbd44dddd0
|
@ -1258,6 +1258,7 @@ class ChibiOSHWDef(object):
|
|||
#ifndef CH_CFG_USE_DYNAMIC
|
||||
#define CH_CFG_USE_DYNAMIC FALSE
|
||||
#endif
|
||||
#define STM32_FLASH_DISABLE_ISR 0
|
||||
''')
|
||||
if not self.env_vars['EXT_FLASH_SIZE_MB'] and not args.signed_fw:
|
||||
f.write('''
|
||||
|
|
Loading…
Reference in New Issue