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:
parent
2df3cb98c6
commit
242f679206
@ -13,3 +13,8 @@ undef STORAGE_FLASH_PAGE
|
||||
|
||||
# produce this error if we are on a 2M board and using 1M firmware
|
||||
define BOARD_CHECK_F427_USE_2M "2M flash - use Pixhawk1 firmware"
|
||||
|
||||
# enable support for dshot on iomcu
|
||||
undef ROMFS
|
||||
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_lowpolh.bin
|
||||
undef HAL_WITH_IO_MCU_DSHOT
|
@ -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
|
||||
|
@ -3054,6 +3054,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:
|
||||
|
Loading…
Reference in New Issue
Block a user