Migrate the remaining F3 targets to feature cut levels.
This commit is contained in:
parent
bdf179c4b8
commit
e983ebf702
|
@ -22,8 +22,6 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "AIR3"
|
||||
|
||||
#define CONFIG_PREFER_ACC_ON
|
||||
|
||||
#define LED0_PIN PB3
|
||||
#define LED1_PIN PB4
|
||||
|
||||
|
|
|
@ -24,37 +24,6 @@
|
|||
|
||||
#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_MSP_DISPLAYPORT
|
||||
//#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
//#undef USE_DYN_LPF
|
||||
//#undef USE_D_CUT
|
||||
|
||||
#undef USE_ITERM_RELAX
|
||||
#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
#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 USE_BEEPER
|
||||
#define BEEPER_PIN PC15
|
||||
#define BEEPER_INVERTED
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
|
||||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
TARGET_FLAGS = -DSPRACINGF3
|
||||
|
||||
FEATURE_CUT_LEVEL = 7
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
|
@ -11,4 +12,4 @@ TARGET_SRC = \
|
|||
drivers/display_ug2864hsweg01.h \
|
||||
drivers/flash_m25p16.c \
|
||||
drivers/max7456.c \
|
||||
io/osd.c
|
||||
io/osd.c
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
#undef USE_GYRO_OVERFLOW_CHECK // target does not use affected gyros
|
||||
//#undef USE_RTC_TIME
|
||||
|
||||
#define TARGET_BOARD_IDENTIFIER "CLBR"
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP
|
||||
|
||||
FEATURE_CUT_LEVEL = 0
|
||||
|
||||
TARGET_SRC = \
|
||||
i2c_bst.c \
|
||||
bus_bst_stm32f30x.c \
|
||||
|
|
|
@ -31,23 +31,14 @@
|
|||
#define USBD_PRODUCT_STRING "CrazyBee F3 FR"
|
||||
#endif
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
//#undef USE_MSP_DISPLAYPORT
|
||||
//#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
//#undef USE_HUFFMAN
|
||||
//#undef USE_PINIO
|
||||
//#undef USE_PINIOBOX
|
||||
|
||||
#undef USE_SERIALRX_CRSF
|
||||
#undef USE_SERIALRX_SUMD
|
||||
#undef USE_SERIALRX_SUMH
|
||||
#undef USE_SERIALRX_XBUS
|
||||
#undef USE_TELEMETRY_CRSF
|
||||
#undef USE_TELEMETRY_MAVLINK
|
||||
#undef USE_PWM
|
||||
|
||||
|
||||
#if defined(CRAZYBEEF3FS)
|
||||
#undef USE_SERIALRX_SBUS
|
||||
|
@ -68,19 +59,6 @@
|
|||
#undef USE_TELEMETRY_SRXL
|
||||
#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_BOARD_INFO
|
||||
//#undef USE_EXTENDED_CMS_MENUS
|
||||
//#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
//#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
#define ENABLE_DSHOT_DMAR true
|
||||
|
||||
#define LED0_PIN PB3
|
||||
|
|
|
@ -2,6 +2,8 @@ F3_TARGETS += $(TARGET)
|
|||
|
||||
FEATURES = VCP
|
||||
|
||||
FEATURE_CUT_LEVEL = 2
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c \
|
||||
|
|
|
@ -23,30 +23,6 @@
|
|||
#define TARGET_BOARD_IDENTIFIER "FRF3"
|
||||
#define USE_TARGET_CONFIG
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
#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 PB3
|
||||
#define USE_BEEPER
|
||||
#define BEEPER_PIN PC15
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 4
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c \
|
||||
|
|
|
@ -23,41 +23,11 @@
|
|||
#ifdef FURYF3OSD
|
||||
#define TARGET_BOARD_IDENTIFIER "FY3O"
|
||||
// #define USBD_PRODUCT_STRING "FuryF3OSD"
|
||||
#undef USE_THRUST_LINEARIZATION
|
||||
#else
|
||||
#define TARGET_BOARD_IDENTIFIER "FYF3"
|
||||
// #define USBD_PRODUCT_STRING "FuryF3"
|
||||
#endif
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
//#undef USE_MSP_DISPLAYPORT
|
||||
//#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
//#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 CONFIG_PREFER_ACC_ON
|
||||
|
||||
#define LED0_PIN PC14
|
||||
|
||||
#define USE_BEEPER
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
ifeq ($(TARGET), FURYF3OSD)
|
||||
FEATURES += VCP ONBOARDFLASH
|
||||
|
||||
FEATURE_CUT_LEVEL = 4
|
||||
else
|
||||
FEATURES += VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 3
|
||||
endif
|
||||
|
||||
TARGET_SRC = \
|
||||
|
@ -18,4 +23,4 @@ TARGET_SRC += \
|
|||
else
|
||||
TARGET_SRC += \
|
||||
drivers/barometer/barometer_ms5611.c
|
||||
endif
|
||||
endif
|
||||
|
|
|
@ -22,26 +22,6 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "IMF3"
|
||||
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
//#undef USE_TELEMETRY_HOTT
|
||||
//#undef USE_TELEMETRY_MAVLINK
|
||||
#undef USE_TELEMETRY_LTM
|
||||
#undef USE_SERIALRX_XBUS
|
||||
|
||||
#undef USE_BOARD_INFO
|
||||
#undef USE_EXTENDED_CMS_MENUS
|
||||
#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
|
||||
#define ENABLE_DSHOT_DMAR true
|
||||
|
||||
#define LED0_PIN PB7
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP ONBOARDFLASH
|
||||
|
||||
FEATURE_CUT_LEVEL = 2
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c \
|
||||
|
|
|
@ -82,8 +82,6 @@
|
|||
#define CURRENT_METER_ADC_PIN PA5
|
||||
#define RSSI_ADC_PIN PB2
|
||||
|
||||
#undef USE_LED_STRIP
|
||||
|
||||
// IO - stm32f303cc in 48pin package
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
#define TARGET_IO_PORTB 0xffff
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP ONBOARDFLASH
|
||||
TARGET_FLAGS = -DSPRACINGF3
|
||||
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
|
|
|
@ -71,9 +71,8 @@
|
|||
#define SDCARD_SPI_CS_PIN PA15
|
||||
#define SPI3_TX_DMA_OPT 0 // DMA 1 Stream 5 Channel 0
|
||||
|
||||
#ifdef USE_MSP_DISPLAYPORT
|
||||
#undef USE_MSP_DISPLAYPORT
|
||||
#endif
|
||||
|
||||
#define USE_MAX7456
|
||||
#define MAX7456_SPI_INSTANCE SPI1
|
||||
#define MAX7456_SPI_CS_PIN PC4
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
F405_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES += VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 0
|
||||
|
||||
HSE_VALUE = 16000000
|
||||
|
||||
TARGET_SRC = \
|
||||
|
|
|
@ -26,36 +26,6 @@
|
|||
#define TARGET_BOARD_IDENTIFIER "LUX"
|
||||
#endif
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
#if defined(LUXV2_RACE)
|
||||
//#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_D_CUT
|
||||
//#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
//#undef USE_ESC_SENSOR_INFO
|
||||
#endif
|
||||
|
||||
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
ifeq ($(TARGET), LUXV2_RACE)
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
else
|
||||
FEATURE_CUT_LEVEL = 0
|
||||
endif
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_mpu6500.c \
|
||||
|
|
|
@ -21,41 +21,10 @@
|
|||
#pragma once
|
||||
|
||||
#undef USE_DSHOT_DMAR // OMNIBUS (F3) does not benefit from burst Dshot
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
#undef USE_GYRO_OVERFLOW_CHECK
|
||||
#undef USE_GYRO_LPF2
|
||||
|
||||
#undef USE_MSP_DISPLAYPORT
|
||||
#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
#undef USE_DYN_LPF
|
||||
#undef USE_D_CUT
|
||||
|
||||
#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 TARGET_BOARD_IDENTIFIER "OMNI" // https://en.wikipedia.org/wiki/Omnibus
|
||||
|
||||
|
||||
#define LED0_PIN PB3
|
||||
|
||||
#define USE_BEEPER
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 9
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c \
|
||||
|
|
|
@ -24,30 +24,6 @@
|
|||
#define USE_HARDWARE_REVISION_DETECTION
|
||||
#define USE_TARGET_CONFIG
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
//#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 PB3
|
||||
#define LED0_INVERTED
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ F3_TARGETS += $(TARGET)
|
|||
|
||||
FEATURES = ONBOARDFLASH
|
||||
|
||||
FEATURE_CUT_LEVEL = 2
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c \
|
||||
|
|
|
@ -22,20 +22,7 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "REF3"
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
#undef USE_GYRO_OVERFLOW_CHECK
|
||||
#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_TELEMETRY_MAVLINK
|
||||
//#undef USE_TELEMETRY_LTM
|
||||
#undef USE_SERIALRX_XBUS
|
||||
|
||||
#undef USE_EXTENDED_CMS_MENUS
|
||||
#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
|
||||
|
||||
#define LED0_PIN PB4
|
||||
#define LED1_PIN PB5
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP
|
||||
|
||||
FEATURE_CUT_LEVEL = 2
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c \
|
||||
|
|
|
@ -22,11 +22,6 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "RGF3" // rgSSD_F3
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_RTC_TIME
|
||||
#undef USE_RX_MSP
|
||||
//#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
#define LED0_PIN PC1
|
||||
#define LED1_PIN PC0
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c
|
||||
|
|
|
@ -22,31 +22,6 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "SIRF"
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
#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
|
||||
#undef USE_THRUST_LINEARIZATION
|
||||
|
||||
#define LED0_PIN PB2
|
||||
#define USE_BEEPER
|
||||
#define BEEPER_PIN PA1
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 4
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_mpu6500.c \
|
||||
|
|
|
@ -32,39 +32,6 @@
|
|||
#define TARGET_BOARD_IDENTIFIER "SRF3"
|
||||
#endif
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
#undef USE_EXTENDED_CMS_MENUS
|
||||
|
||||
#if !(defined(ZCOREF3) || defined(FLIP32F3OSD) || defined(IRCSYNERGYF3))
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
//#undef USE_MSP_DISPLAYPORT
|
||||
//#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
#undef USE_LED_STRIP
|
||||
//#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
|
||||
|
||||
#endif
|
||||
|
||||
#undef USE_THRUST_LINEARIZATION
|
||||
#undef USE_BOARD_INFO
|
||||
#undef USE_RTC_TIME
|
||||
|
||||
#undef USE_RX_MSP
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
#if defined(ZCOREF3)
|
||||
|
||||
#define LED0_PIN PB8
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = ONBOARDFLASH
|
||||
|
||||
TARGET_SRC = \
|
||||
|
@ -11,18 +12,26 @@ TARGET_SRC = \
|
|||
drivers/compass/compass_qmc5883l.c
|
||||
|
||||
ifeq ($(TARGET), FLIP32F3OSD)
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
|
||||
TARGET_SRC += \
|
||||
drivers/accgyro/accgyro_mpu6500.c
|
||||
else
|
||||
ifeq ($(TARGET), ZCOREF3)
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
|
||||
TARGET_SRC += \
|
||||
drivers/accgyro/accgyro_mpu6500.c \
|
||||
drivers/accgyro/accgyro_spi_mpu6500.c
|
||||
else
|
||||
ifeq ($(TARGET), IRCSYNERGYF3)
|
||||
FEATURE_CUT_LEVEL = 1
|
||||
|
||||
TARGET_SRC += \
|
||||
drivers/accgyro/accgyro_spi_mpu6000.c
|
||||
else
|
||||
FEATURE_CUT_LEVEL = 3
|
||||
|
||||
TARGET_SRC += \
|
||||
drivers/accgyro/accgyro_mpu6050.c
|
||||
endif
|
||||
|
|
|
@ -32,33 +32,6 @@
|
|||
#define SPRACINGF3MINI_REV 2
|
||||
#endif
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
//#undef USE_MSP_DISPLAYPORT
|
||||
//#undef USE_MSP_OVER_TELEMETRY
|
||||
|
||||
#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 PB3
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI
|
||||
|
||||
FEATURE_CUT_LEVEL = 6
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
drivers/accgyro/accgyro_mpu6500.c \
|
||||
|
|
|
@ -36,30 +36,6 @@
|
|||
|
||||
#define TARGET_BOARD_IDENTIFIER "SDF3" // STM Discovery F3
|
||||
|
||||
// Removed to make the firmware fit into flash (in descending order of priority):
|
||||
//#undef USE_GYRO_OVERFLOW_CHECK
|
||||
//#undef USE_GYRO_LPF2
|
||||
|
||||
//#undef USE_ITERM_RELAX
|
||||
//#undef USE_RC_SMOOTHING_FILTER
|
||||
|
||||
#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_RX_MSP
|
||||
//#undef USE_RTC_TIME
|
||||
#undef USE_EXTENDED_CMS_MENUS
|
||||
#undef USE_ESC_SENSOR_INFO
|
||||
|
||||
#define USE_SENSOR_NAMES
|
||||
|
||||
#define CURRENT_TARGET_CPU_VOLTAGE 3.0
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
F3_TARGETS += $(TARGET)
|
||||
|
||||
FEATURES = VCP SDCARD_SPI ONBOARDFLASH
|
||||
|
||||
FEATURE_CUT_LEVEL = 4
|
||||
|
||||
TARGET_SRC = \
|
||||
drivers/accgyro/accgyro_fake.c \
|
||||
drivers/accgyro/accgyro_mpu.c \
|
||||
|
|
Loading…
Reference in New Issue