From ce4120e8032d71191c6ec76106111c7a40b1c250 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 18 Jan 2020 09:58:44 +1100 Subject: [PATCH] HAL_ChibiOS: disable parachute and sprayer on MatekF405-Wing fixes build size --- libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat index 9e478554ec..70ccc9db50 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat @@ -187,3 +187,7 @@ define STM32_PWM_USE_ADVANCED TRUE # disable SMBUS and fuel battery monitors to save flash define HAL_BATTMON_SMBUS_ENABLE 0 define HAL_BATTMON_FUEL_ENABLE 0 + +# disable parachute and sprayer to save flash +define HAL_PARACHUTE_ENABLED 0 +define HAL_SPRAYER_ENABLED 0