From 440ed4f1c2630ea76b017240e31dfe440de028a4 Mon Sep 17 00:00:00 2001 From: mikeller Date: Fri, 17 Nov 2017 13:34:48 +1300 Subject: [PATCH] Reduced features on SPRACINGF3EVO and variants to make it fit flash. --- src/main/target/SPRACINGF3EVO/target.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/target/SPRACINGF3EVO/target.h b/src/main/target/SPRACINGF3EVO/target.h index ddba90c89..75586105d 100644 --- a/src/main/target/SPRACINGF3EVO/target.h +++ b/src/main/target/SPRACINGF3EVO/target.h @@ -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