mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-08 06:34:22 -04:00
HAL_ChibiOS: set FLASH_RESERVE_START_KB in the environment
used to correctly setup an intel hex file
This commit is contained in:
parent
1c807e0078
commit
e868a4fe8b
@ -455,6 +455,8 @@ def write_ldscript(fname):
|
|||||||
flash_reserve_start = get_config(
|
flash_reserve_start = get_config(
|
||||||
'FLASH_RESERVE_START_KB', default=16, type=int)
|
'FLASH_RESERVE_START_KB', default=16, type=int)
|
||||||
|
|
||||||
|
env_vars['FLASH_RESERVE_START_KB'] = str(flash_reserve_start)
|
||||||
|
|
||||||
# space to reserve for storage at end of flash
|
# space to reserve for storage at end of flash
|
||||||
flash_reserve_end = get_config('FLASH_RESERVE_END_KB', default=0, type=int)
|
flash_reserve_end = get_config('FLASH_RESERVE_END_KB', default=0, type=int)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user