First wave of feature cut conversions: CHEBUZZF3, MIDELICF3, and SPRACINGF3EVO.
This commit is contained in:
parent
b4663aa5a5
commit
5b3f54874d
5
Makefile
5
Makefile
|
@ -301,7 +301,7 @@ $(TARGET_BIN): $(TARGET_ELF)
|
|||
@echo "Creating BIN $(TARGET_BIN)" "$(STDOUT)"
|
||||
$(V1) $(OBJCOPY) -O binary $< $@
|
||||
|
||||
$(TARGET_ELF): $(TARGET_OBJS)
|
||||
$(TARGET_ELF): $(TARGET_OBJS)
|
||||
@echo "Linking $(TARGET)" "$(STDOUT)"
|
||||
$(V1) $(CROSS_CC) -o $@ $^ $(LD_FLAGS)
|
||||
$(V1) $(SIZE) $(TARGET_ELF)
|
||||
|
@ -551,7 +551,8 @@ check-fastram-usage-correctness:
|
|||
fi;
|
||||
|
||||
# rebuild everything when makefile changes
|
||||
$(TARGET_OBJS) : Makefile
|
||||
$(TARGET_OBJS): Makefile $(TARGET_DIR)/target.mk
|
||||
|
||||
|
||||
# include auto-generated dependencies
|
||||
-include $(TARGET_DEPS)
|
||||
|
|
|
@ -106,8 +106,6 @@
|
|||
#define RSSI_ADC_PIN PC2
|
||||
#define EXTERNAL1_ADC_PIN PC3
|
||||
|
||||
#undef USE_LED_STRIP
|
||||
|
||||
// IO - assuming 303 in 64pin package, TODO
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
#define TARGET_IO_PORTB 0xffff
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/compass/compass_hmc5883l.c \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
|
|
|
@ -22,32 +22,7 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "MIF3"
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_DYN_LPF
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
#undef USE_THRUST_LINEARIZATION
|
||||
|
||||
//#undef USE_HUFFMAN
|
||||
//#undef USE_PINIO
|
||||
//#undef USE_PINIOBOX
|
||||
|
||||
#undef USE_TELEMETRY_HOTT
|
||||
#undef USE_TELEMETRY_MAVLINK
|
||||
#undef USE_TELEMETRY_LTM
|
||||
#undef USE_SERIALRX_XBUS
|
||||
#undef USE_SERIALRX_SUMH
|
||||
//#undef USE_PWM
|
||||
|
||||
//#undef USE_BOARD_INFO
|
||||
//#undef USE_EXTENDED_CMS_MENUS
|
||||
#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
#define LED0_PIN PB5
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@ F3_TARGETS += $(TARGET)
|
|||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 4
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_mpu6050.c \
|
||||
|
|
|
@ -28,38 +28,6 @@
|
|||
#define TARGET_BOARD_IDENTIFIER "SPEV"
|
||||
#endif
|
||||
|
||||
// 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_RC_SMOOTHING_FILTER
|
||||
#undef ITERM_RELAX
|
||||
|
||||
#undef USE_MSP_DISPLAYPORT
|
||||
#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
#undef USE_HUFFMAN
|
||||
#undef USE_PINIO
|
||||
#undef USE_PINIOBOX
|
||||
|
||||
#undef USE_VIRTUAL_CURRENT_METER
|
||||
#endif
|
||||
|
||||
#undef USE_TELEMETRY_HOTT
|
||||
#undef USE_TELEMETRY_MAVLINK
|
||||
#undef USE_TELEMETRY_LTM
|
||||
#undef USE_SERIALRX_XBUS
|
||||
#undef USE_SERIALRX_SUMH
|
||||
#undef USE_PWM
|
||||
|
||||
#undef USE_THRUST_LINEARIZATION
|
||||
#undef USE_BOARD_INFO
|
||||
#undef USE_EXTENDED_CMS_MENUS
|
||||
#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
#if !defined(AIORACERF3)
|
||||
#define USE_TARGET_CONFIG
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
ifeq ($(TARGET), AIORACERF3)
|
||||
FEATURE_CUT_LEVEL = 3
|
||||
else
|
||||
FEATURE_CUT_LEVEL = 7
|
||||
endif
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_mpu6500.c \
|
||||
|
|
Loading…
Reference in New Issue