Merge pull request #4589 from mikeller/reduce_spracingf3evo_size

Reduced features on SPRACINGF3EVO and variants to make it fit flash.
This commit is contained in:
Michael Keller 2017-11-17 20:31:06 +13:00 committed by GitHub
commit 75632daf6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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