Fixed flash overflow for MIDELICF3.

This commit is contained in:
Michael Keller 2019-01-09 10:38:36 +13:00
parent a136f0b7e0
commit badd7b12a8
1 changed files with 25 additions and 6 deletions

View File

@ -22,14 +22,33 @@
#define TARGET_BOARD_IDENTIFIER "MIF3"
// prevent flash overflow
#undef USE_CRSF_CMS_TELEMETRY
#undef USE_GYRO_OVERFLOW_CHECK // target does not use an affected gyro
#undef USE_SERIALRX_SUMD
#undef USE_SERIALRX_SUMH
#undef USE_SERIALRX_XBUS
// Removed to make the firmware fit into flash (in descending order of priority):
#undef USE_GYRO_OVERFLOW_CHECK
//#undef USE_GYRO_LPF2
//#undef USE_RC_SMOOTHING_FILTER
//#undef USE_DYN_LPF
//#undef USE_ITERM_RELAX
//#undef USE_RC_SMOOTHING_FILTER
#undef USE_THRUST_LINEARIZATION
//#undef USE_HUFFMAN
//#undef USE_PINIO
//#undef USE_PINIOBOX
#undef USE_TELEMETRY_HOTT
#undef USE_TELEMETRY_MAVLINK
#undef USE_TELEMETRY_LTM
#undef USE_SERIALRX_XBUS
#undef USE_SERIALRX_SUMH
//#undef USE_PWM
//#undef USE_BOARD_INFO
//#undef USE_EXTENDED_CMS_MENUS
//#undef USE_RTC_TIME
//#undef USE_RX_MSP
//#undef USE_ESC_SENSOR_INFO
#define LED0_PIN PB5