Skip to content

Commit 5144341

Browse files
committed
hwdef: save flash on several boards with DFU
omit bootloader on boards with DFU and low on flash
1 parent 3c0a9af commit 5144341

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

libraries/AP_HAL_ChibiOS/hwdef/FlywooF405S-AIO/hwdef.dat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,6 @@ define HAL_DEFAULT_INS_FAST_SAMPLE 3
149149
define HAL_FRAME_TYPE_DEFAULT 12
150150

151151
define DEFAULT_NTF_LED_TYPES 257
152+
153+
# save some flash space
154+
include ../include/no_bootloader_DFU.inc

libraries/AP_HAL_ChibiOS/hwdef/MatekF405-TE/hwdef.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ define HAL_GYROFFT_ENABLED 0
180180
# --------------------- save flash ----------------------
181181
# save some flash
182182
include ../include/save_some_flash.inc
183+
include ../include/no_bootloader_DFU.inc
183184
define AP_BATTERY_SMBUS_ENABLED 0
184185
define HAL_PARACHUTE_ENABLED 0
185186
define HAL_SPRAYER_ENABLED 0

libraries/AP_HAL_ChibiOS/hwdef/SuccexF4/hwdef.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,4 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 1024
133133

134134
# minimal drivers to reduce flash usage
135135
include ../include/minimal.inc
136+
include ../include/no_bootloader_DFU.inc

libraries/AP_HAL_ChibiOS/hwdef/speedybeef4/hwdef.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,5 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
146146

147147
# minimal drivers to reduce flash usage
148148
include ../include/minimal.inc
149+
include ../include/no_bootloader_DFU.inc
149150
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 0

libraries/AP_HAL_ChibiOS/hwdef/speedybeef4v3/hwdef.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
155155

156156
# minimal drivers to reduce flash usage
157157
include ../include/minimal.inc
158+
include ../include/no_bootloader_DFU.inc
158159
define AP_BATTERY_SYNTHETIC_CURRENT_ENABLED 0
159160

160161
define DEFAULT_NTF_LED_TYPES 257

0 commit comments

Comments
 (0)