mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
HAL_ChibiOS: add option to set iomcu firmware environment var
This commit is contained in:
parent
3641dcee44
commit
22f74b0827
@ -98,5 +98,6 @@ define DMA_RESERVE_SIZE 0
|
||||
|
||||
define IOMCU_FW TRUE
|
||||
|
||||
IOMCU_FW 1
|
||||
MAIN_STACK 0x200
|
||||
PROCESS_STACK 0x250
|
@ -488,6 +488,11 @@ def write_mcu_config(f):
|
||||
else:
|
||||
env_vars['MAIN_STACK'] = "0x400"
|
||||
|
||||
if get_config('IOMCU_FW', required=False):
|
||||
env_vars['IOMCU_FW'] = get_config('IOMCU_FW')
|
||||
else:
|
||||
env_vars['IOMCU_FW'] = 0
|
||||
|
||||
# write any custom STM32 defines
|
||||
for d in alllines:
|
||||
if d.startswith('STM32_'):
|
||||
|
Loading…
Reference in New Issue
Block a user