mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 16:23:56 -04:00
HAL_ChibiOS: always set STM32_DMA_REQUIRED for non-bootloader
this fixes an issue for uart-only AP_Periph builds
This commit is contained in:
parent
e5423a3cf6
commit
f44e4aaefb
@ -821,6 +821,9 @@ def write_mcu_config(f):
|
||||
if env_vars.get('ROMFS_UNCOMPRESSED', False):
|
||||
f.write('#define HAL_ROMFS_UNCOMPRESSED\n')
|
||||
|
||||
if not args.bootloader:
|
||||
f.write('''#define STM32_DMA_REQUIRED TRUE\n\n''')
|
||||
|
||||
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