hwdef: save flash on several boards with DFU

omit bootloader on boards with DFU and low on flash
This commit is contained in:
Andrew Tridgell 2023-06-12 10:17:08 +10:00
parent 3c0a9af505
commit 514434193d
5 changed files with 7 additions and 0 deletions

View File

@ -149,3 +149,6 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 3
define HAL_FRAME_TYPE_DEFAULT 12
define DEFAULT_NTF_LED_TYPES 257
# save some flash space
include ../include/no_bootloader_DFU.inc

View File

@ -180,6 +180,7 @@ define HAL_GYROFFT_ENABLED 0
# --------------------- save flash ----------------------
# save some flash
include ../include/save_some_flash.inc
include ../include/no_bootloader_DFU.inc
define AP_BATTERY_SMBUS_ENABLED 0
define HAL_PARACHUTE_ENABLED 0
define HAL_SPRAYER_ENABLED 0

View File

@ -133,3 +133,4 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 1024
# minimal drivers to reduce flash usage
include ../include/minimal.inc
include ../include/no_bootloader_DFU.inc

View File

@ -146,4 +146,5 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimal.inc
include ../include/no_bootloader_DFU.inc
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 0

View File

@ -155,6 +155,7 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
# minimal drivers to reduce flash usage
include ../include/minimal.inc
include ../include/no_bootloader_DFU.inc
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 0
define DEFAULT_NTF_LED_TYPES 257