mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: add env option to omit hwdef.dat from romfs
This commit is contained in:
parent
d3ab49205b
commit
ba2bec07fa
|
@ -2574,7 +2574,7 @@ Please run: Tools/scripts/build_bootloaders.py %s
|
|||
f = open(hwdat, 'w')
|
||||
f.write('\n'.join(self.all_lines))
|
||||
f.close()
|
||||
if not self.is_periph_fw():
|
||||
if not self.is_periph_fw() and not os.getenv("NO_ROMFS_HWDEF", False):
|
||||
self.romfs["hwdef.dat"] = hwdat
|
||||
|
||||
def write_defaulting_define(self, f, name, value):
|
||||
|
|
Loading…
Reference in New Issue