1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Temporarily disable autotune on the CC3D OPBL binary.

This commit is contained in:
Dominic Clifton 2015-03-02 11:50:15 +00:00
parent bc5f48a7e9
commit 266fe45b7e
3 changed files with 6 additions and 1 deletions

View file

@ -1,7 +1,7 @@
env:
- RUNTESTS=True
- TARGET=CC3D
- TARGET=CC3D OPBL=yes
- TARGET=CC3D OPBL=yes
- TARGET=CHEBUZZF3
- TARGET=CJMCU
- TARGET=EUSTM32F103RC

View file

@ -374,6 +374,7 @@ endif
ifeq ($(OPBL),yes)
ifneq ($(filter $(TARGET),$(OPBL_VALID_TARGETS)),)
TARGET_FLAGS := -DOPBL $(TARGET_FLAGS)
LD_SCRIPT = $(LINKER_DIR)/stm32_flash_f103_128k_opbl.ld
.DEFAULT_GOAL := binary
else

View file

@ -114,6 +114,10 @@
#define AUTOTUNE
#define USE_SERVOS
#if defined(OPBL)
#undef AUTOTUNE // disabled for OPBL build due to code size.
#endif
#define SPEKTRUM_BIND
// USART3, PB11 (Flexport)
#define BIND_PORT GPIOB