Skip to content

Commit 533b71e

Browse files
committed
AP_HAL_ChibiOS: save 6k of flash on Pixhawk1-1M
1 parent 35ef1c6 commit 533b71e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc

+8
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,11 @@ define HAL_MSP_ENABLED 0
3131
# Copter-specific defines; these defines are only used in the Copter
3232
# directory, but are seen across the entire codebase:
3333
define MODE_TURTLE_ENABLED 0
34+
35+
define AP_MOTORS_FRAME_DEFAULT_ENABLED 0
36+
define AP_MOTORS_FRAME_QUAD_ENABLED 1
37+
define AP_MOTORS_FRAME_HEXA_ENABLED 1
38+
define AP_MOTORS_FRAME_OCTA_ENABLED 1
39+
40+
define HAL_EFI_ENABLED 0
41+
define AP_ICENGINE_ENABLED 0

0 commit comments

Comments
 (0)