diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat index a154ba52e0..2b63687cbb 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat @@ -182,3 +182,6 @@ define BOARD_PWM_COUNT_DEFAULT 9 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