Skip to content

Commit

Permalink
AP_HAL_ChibiOS: remove setting of ROMFS flags
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 committed May 11, 2024
1 parent 40fc2eb commit e5b24c7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -2613,14 +2613,6 @@ def write_hwdef_header(self, outfilename):

self.embed_bootloader(f)

if len(self.romfs) > 0:
# Allow lua to load from ROMFS if any lua files are added
for file in self.romfs.keys():
if file.startswith("scripts") and file.endswith(".lua"):
f.write('#define HAL_HAVE_AP_ROMFS_EMBEDDED_LUA 1\n')
break
f.write('#define HAL_HAVE_AP_ROMFS_EMBEDDED_H 1\n')

if self.mcu_series.startswith('STM32F1'):
f.write('''
/*
Expand Down

0 comments on commit e5b24c7

Please sign in to comment.