mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-28 04:38:55 +08:00
AP_HAL_ChibiOS: add env option to omit hwdef.dat from romfs
This commit is contained in:
1 parent
d3ab49205b
commit
ba2bec07fa
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user