hwdef: enable DFU on some boards

This commit is contained in:
Andrew Tridgell 2022-08-29 15:49:08 +10:00
parent cee8a638f8
commit b808351f2a
6 changed files with 21 additions and 6 deletions

View File

@ -61,5 +61,5 @@ PD10 FRAM_CS CS SPEED_VERYLOW
PE3 VDD_3V3_SENSORS_EN OUTPUT LOW
PA8 nVDD_5V_PERIPH_EN OUTPUT LOW
# uncomment to enable DFU reboot
# ENABLE_DFU_BOOT 1
# enable DFU by default
ENABLE_DFU_BOOT 1

View File

@ -336,5 +336,7 @@ define HAL_SOLO_GIMBAL_ENABLED HAL_MOUNT_ENABLED
# Enable Sagetech MXS ADSB transponder
define HAL_ADSB_SAGETECH_MXS_ENABLED HAL_ADSB_ENABLED
# uncomment to enable DFU reboot
# ENABLE_DFU_BOOT 1
# enable DFU reboot for installing bootloader
# note that if firmware is build with --secure-bl then DFU is
# disabled
ENABLE_DFU_BOOT 1

View File

@ -60,3 +60,6 @@ PI6 EXT2_CS1 CS
PI7 EXT2_CS2 CS
PI8 EXT2_CS3 CS
PH5 TSENSE_CS CS
# enable DFU by default
ENABLE_DFU_BOOT 1

View File

@ -349,5 +349,7 @@ define HAL_BATT_CURR_SCALE 36.364
# Enable Sagetech MXS ADSB transponder
define HAL_ADSB_SAGETECH_MXS_ENABLED HAL_ADSB_ENABLED
# uncomment to enable DFU boot
# ENABLE_DFU_BOOT 1
# enable DFU reboot for installing bootloader
# note that if firmware is build with --secure-bl then DFU is
# disabled
ENABLE_DFU_BOOT 1

View File

@ -71,3 +71,6 @@ define HAL_LED_ON 0
define HAL_USE_EMPTY_STORAGE 1
define HAL_STORAGE_SIZE 16384
# enable DFU by default
ENABLE_DFU_BOOT 1

View File

@ -364,3 +364,8 @@ define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_lowpolh.bin
# enable DFU reboot for installing bootloader
# note that if firmware is build with --secure-bl then DFU is
# disabled
ENABLE_DFU_BOOT 1