Reduced features on SPRACINGF3EVO and variants to make it fit flash.

This commit is contained in:
mikeller 2017-11-17 13:34:48 +13:00
parent 8bdb54728e
commit 440ed4f1c2
1 changed files with 9 additions and 9 deletions

View File

@ -25,10 +25,8 @@
#define TARGET_BOARD_IDENTIFIER "SPEV"
#endif
#if !defined(AIORACERF3)
#define USE_TARGET_CONFIG
#ifdef AIORACERF3
#undef USE_TARGET_CONFIG // no space left
#endif
#ifdef SPRACINGF3MQ
@ -38,12 +36,14 @@
#define SPRACINGF3MQ_REV 2
#endif
#undef USE_UNCOMMON_MIXERS // no space left
#endif
#undef USE_TELEMETRY_JETIEXBUS // no space left
#undef USE_SERIALRX_JETIEXBUS // no space left
#undef USE_DASHBOARD // no space left
#undef USE_RTC_TIME // no space left
#endif // SPRACINGF3MQ
// Space reduction measures to make the firmware fit into flash:
#undef USE_TELEMETRY_JETIEXBUS
#undef USE_SERIALRX_JETIEXBUS
#undef USE_TELEMETRY_MAVLINK
#undef USE_DASHBOARD
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT