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:
commit
75632daf6b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue