Disable GPS by default on smaller Sizes

This commit is contained in:
borisbstyle 2016-11-30 22:58:10 +01:00
parent 44d249f054
commit e9083db022
2 changed files with 5 additions and 1 deletions

View File

@ -756,7 +756,11 @@ ifeq ($(DEBUG),GDB)
OPTIMIZE = -O0
LTO_FLAGS = $(OPTIMIZE)
else
ifeq ($(TARGET),$(filter $(TARGET),$(F1_TARGETS)))
OPTIMIZE = -Os
else
OPTIMIZE = -Ofast
endif
LTO_FLAGS = -flto -fuse-linker-plugin $(OPTIMIZE)
endif

View File

@ -34,6 +34,7 @@
#define STM_FAST_TARGET
#define USE_DSHOT
#define I2C3_OVERCLOCK true
#define GPS
#endif
#ifdef STM32F3
@ -70,7 +71,6 @@
#if (FLASH_SIZE > 64)
#define BLACKBOX
#define GPS
#define TELEMETRY
#define TELEMETRY_FRSKY
#define TELEMETRY_HOTT