AP_HAL_ChibiOS: remove iomcu dshot from Pixhawk1-1M and add to Pixhawk1-bdshot

add support for removing ROMFS from hwdef
This commit is contained in:
Andrew Tridgell 2024-03-13 15:47:55 +11:00 committed by Peter Barker
parent 5deb2b07f4
commit 8cd8d7b6e5
2 changed files with 6 additions and 0 deletions

View File

@ -36,3 +36,7 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
# produce this error if we are on a 1M board
undef BOARD_CHECK_F427_USE_1M
define BOARD_CHECK_F427_USE_1M "ERROR: 1M flash use Pixhawk1-1M"
# enable support for dshot on iomcu
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_dshot_lowpolh.bin
define HAL_WITH_IO_MCU_DSHOT 1

View File

@ -3040,6 +3040,8 @@ Please run: Tools/scripts/build_bootloaders.py %s
self.baro_list = []
if u == 'AIRSPEED':
self.airspeed_list = []
if u == 'ROMFS':
self.romfs = {}
elif a[0] == 'env':
self.progress("Adding environment %s" % ' '.join(a[1:]))
if len(a[1:]) < 2: