Browse Source

HAL_ChibiOS: save 3k of flash on MatekF405-Wing

disable SMBUS and fuel battery monitors
zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
95b527dac8
  1. 3
      libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat

3
libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat

@ -182,3 +182,6 @@ define BOARD_PWM_COUNT_DEFAULT 9 @@ -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

Loading…
Cancel
Save