Disable GPS by default on smaller Sizes
This commit is contained in:
parent
44d249f054
commit
e9083db022
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue