mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
HAL_ChibiOS: embed hwdef.dat in ROMFS for all boards
This commit is contained in:
parent
bd07e8516f
commit
2c26807736
@ -1640,8 +1640,7 @@ def write_all_lines(hwdat):
|
||||
f = open(hwdat, 'w')
|
||||
f.write('\n'.join(all_lines))
|
||||
f.close()
|
||||
flash_size = get_config('FLASH_SIZE_KB', type=int)
|
||||
if flash_size > 1024:
|
||||
if not 'AP_PERIPH' in env_vars:
|
||||
romfs["hwdef.dat"] = hwdat
|
||||
|
||||
def write_hwdef_header(outfilename):
|
||||
|
Loading…
Reference in New Issue
Block a user