From 0f1496e70788d47fecbe3a4be2065dccfbdbfbf2 Mon Sep 17 00:00:00 2001 From: UAV Tech Date: Tue, 6 Nov 2018 11:34:45 -0500 Subject: [PATCH] Performanc Edition Edits --- Makefile | 4 ++-- src/main/target/BETAFLIGHTF3/target.h | 8 ++++---- src/main/target/OMNIBUS/target.h | 10 ++++----- src/main/target/RCEXPLORERF3/target.h | 2 +- src/main/target/SPRACINGF3/target.h | 2 +- src/main/target/SPRACINGF3EVO/target.h | 6 +++--- src/main/target/SPRACINGF3NEO/target.h | 4 ++-- src/main/target/common_pre.h | 28 ++++++++++++++------------ 8 files changed, 33 insertions(+), 31 deletions(-) diff --git a/Makefile b/Makefile index 2a9d3019459..8fd5cc70a43 100644 --- a/Makefile +++ b/Makefile @@ -259,8 +259,8 @@ CPPCHECK = cppcheck $(CSOURCES) --enable=all --platform=unix64 \ # # Things we will build # -TARGET_BIN = $(BIN_DIR)/$(FORKNAME)_$(FC_VER)_$(TARGET).bin -TARGET_HEX = $(BIN_DIR)/$(FORKNAME)_$(FC_VER)_$(TARGET).hex +TARGET_BIN = $(BIN_DIR)/$(FORKNAME)_$(FC_VER)_$(TARGET)-BLDG1222.bin +TARGET_HEX = $(BIN_DIR)/$(FORKNAME)_$(FC_VER)_$(TARGET)-BLDG1222.hex TARGET_ELF = $(OBJECT_DIR)/$(FORKNAME)_$(TARGET).elf TARGET_LST = $(OBJECT_DIR)/$(FORKNAME)_$(TARGET).lst TARGET_OBJS = $(addsuffix .o,$(addprefix $(OBJECT_DIR)/$(TARGET)/,$(basename $(SRC)))) diff --git a/src/main/target/BETAFLIGHTF3/target.h b/src/main/target/BETAFLIGHTF3/target.h index 5654833aab8..0a3764fb6bc 100644 --- a/src/main/target/BETAFLIGHTF3/target.h +++ b/src/main/target/BETAFLIGHTF3/target.h @@ -25,11 +25,11 @@ #define TARGET_BOARD_IDENTIFIER "BFF3" // Removed to make the firmware fit into flash (in descending order of priority): -//#undef USE_GYRO_OVERFLOW_CHECK -#undef USE_GYRO_LPF2 +#undef USE_GYRO_OVERFLOW_CHECK +//#undef USE_GYRO_LPF2 -#undef USE_ITERM_RELAX -#undef USE_RC_SMOOTHING_FILTER +//#undef USE_ITERM_RELAX +//#undef USE_RC_SMOOTHING_FILTER #undef USE_TELEMETRY_HOTT #undef USE_TELEMETRY_MAVLINK diff --git a/src/main/target/OMNIBUS/target.h b/src/main/target/OMNIBUS/target.h index 4fc8d7e2ce3..ca1417d8648 100644 --- a/src/main/target/OMNIBUS/target.h +++ b/src/main/target/OMNIBUS/target.h @@ -24,13 +24,13 @@ // Removed to make the firmware fit into flash (in descending order of priority): #undef USE_GYRO_OVERFLOW_CHECK -#undef USE_GYRO_LPF2 +//#undef USE_GYRO_LPF2 -#undef USE_RC_SMOOTHING_FILTER -#undef USE_DYN_LPF +//#undef USE_RC_SMOOTHING_FILTER +//#undef USE_DYN_LPF -#undef USE_ITERM_RELAX -#undef USE_RC_SMOOTHING_FILTER +//#undef USE_ITERM_RELAX +//#undef USE_RC_SMOOTHING_FILTER #undef USE_HUFFMAN #undef USE_PINIO diff --git a/src/main/target/RCEXPLORERF3/target.h b/src/main/target/RCEXPLORERF3/target.h index 3ebc2a5a518..15b0eb4cae8 100644 --- a/src/main/target/RCEXPLORERF3/target.h +++ b/src/main/target/RCEXPLORERF3/target.h @@ -24,7 +24,7 @@ // Removed to make the firmware fit into flash (in descending order of priority): #undef USE_GYRO_OVERFLOW_CHECK -#undef USE_GYRO_LPF2 +//#undef USE_GYRO_LPF2 //#undef USE_TELEMETRY_MAVLINK //#undef USE_TELEMETRY_LTM diff --git a/src/main/target/SPRACINGF3/target.h b/src/main/target/SPRACINGF3/target.h index 10d41bf7d7f..137aa0b75f4 100644 --- a/src/main/target/SPRACINGF3/target.h +++ b/src/main/target/SPRACINGF3/target.h @@ -43,7 +43,7 @@ //#undef USE_MSP_DISPLAYPORT //#undef USE_MSP_OVER_TELEMETRY -#undef USE_LED_STRIP +//#undef USE_LED_STRIP //#undef USE_HUFFMAN //#undef USE_PINIO //#undef USE_PINIOBOX diff --git a/src/main/target/SPRACINGF3EVO/target.h b/src/main/target/SPRACINGF3EVO/target.h index c4f66c3e046..635d6ecffbb 100644 --- a/src/main/target/SPRACINGF3EVO/target.h +++ b/src/main/target/SPRACINGF3EVO/target.h @@ -31,10 +31,10 @@ // Removed to make the firmware fit into flash (in descending order of priority): #if !defined(AIORACERF3) #undef USE_GYRO_OVERFLOW_CHECK -#undef USE_GYRO_LPF2 +//#undef USE_GYRO_LPF2 -#undef USE_RC_SMOOTHING_FILTER -#undef ITERM_RELAX +//#undef USE_RC_SMOOTHING_FILTER +//#undef ITERM_RELAX #undef USE_MSP_DISPLAYPORT #undef USE_MSP_OVER_TELEMETRY diff --git a/src/main/target/SPRACINGF3NEO/target.h b/src/main/target/SPRACINGF3NEO/target.h index 79c0611e7c5..c169afb8518 100644 --- a/src/main/target/SPRACINGF3NEO/target.h +++ b/src/main/target/SPRACINGF3NEO/target.h @@ -28,8 +28,8 @@ //#undef USE_GYRO_OVERFLOW_CHECK //#undef USE_GYRO_LPF2 -#undef USE_ITERM_RELAX -#undef USE_RC_SMOOTHING_FILTER +//#undef USE_ITERM_RELAX +//#undef USE_RC_SMOOTHING_FILTER #undef USE_HUFFMAN #undef USE_PINIO diff --git a/src/main/target/common_pre.h b/src/main/target/common_pre.h index 6e7cc1dc9ee..19eaf326b85 100644 --- a/src/main/target/common_pre.h +++ b/src/main/target/common_pre.h @@ -129,15 +129,15 @@ #define USE_GYRO_REGISTER_DUMP // Adds gyroregisters command to cli to dump configured register values #define USE_IMU_CALC #define USE_PPM -#define USE_PWM +//#define USE_PWM #define USE_SERIAL_RX #define USE_SERIALRX_CRSF // Team Black Sheep Crossfire protocol #define USE_SERIALRX_IBUS // FlySky and Turnigy receivers #define USE_SERIALRX_SBUS // Frsky and Futaba receivers #define USE_SERIALRX_SPEKTRUM // SRXL, DSM2 and DSMX protocol -#define USE_SERIALRX_SUMD // Graupner Hott protocol -#define USE_SERIALRX_SUMH // Graupner legacy protocol -#define USE_SERIALRX_XBUS // JR +//#define USE_SERIALRX_SUMD // Graupner Hott protocol +//#define USE_SERIALRX_SUMH // Graupner legacy protocol +//#define USE_SERIALRX_XBUS // JR @@ -148,16 +148,22 @@ #endif #if (FLASH_SIZE > 64) -#define USE_ACRO_TRAINER +//#define USE_ACRO_TRAINER #define USE_BLACKBOX #define USE_RESOURCE_MGMT #define USE_RUNAWAY_TAKEOFF // Runaway Takeoff Prevention (anti-taz) -#define USE_SERVOS +//#define USE_SERVOS #define USE_TELEMETRY #define USE_TELEMETRY_FRSKY_HUB -#define USE_TELEMETRY_HOTT -#define USE_TELEMETRY_LTM +//#define USE_TELEMETRY_HOTT +//#define USE_TELEMETRY_LTM #define USE_TELEMETRY_SMARTPORT + +#define USE_THROTTLE_BOOST +#define USE_RC_SMOOTHING_FILTER +#define USE_ITERM_RELAX +#define USE_DYN_LPF + #endif #if (FLASH_SIZE > 128) @@ -189,11 +195,7 @@ #define USE_ESC_SENSOR_INFO #define USE_CRSF_CMS_TELEMETRY #define USE_BOARD_INFO -#define USE_SMART_FEEDFORWARD -#define USE_THROTTLE_BOOST -#define USE_RC_SMOOTHING_FILTER -#define USE_ITERM_RELAX -#define USE_DYN_LPF +//#define USE_SMART_FEEDFORWARD #ifdef USE_SERIALRX_SPEKTRUM #define USE_SPEKTRUM_BIND