mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
hwdef: save flash on several boards with DFU
omit bootloader on boards with DFU and low on flash
This commit is contained in:
parent
3c0a9af505
commit
514434193d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user