Merge pull request #11198 from SteveCEvans/sce_rc2
[betaflight.git] / src / main / target / SPRACINGF3 / target.mk
blob5a8c0380d421d7b4ddbcda75ba24b6ac504e5de1
1 F3_TARGETS += $(TARGET)
3 FEATURES = ONBOARDFLASH
5 TARGET_SRC = \
6 drivers/accgyro/accgyro_mpu.c \
7 drivers/barometer/barometer_ms5611.c \
8 drivers/barometer/barometer_bmp085.c \
9 drivers/barometer/barometer_bmp280.c \
10 drivers/compass/compass_ak8975.c \
11 drivers/compass/compass_hmc5883l.c \
12 drivers/compass/compass_qmc5883l.c
14 ifeq ($(TARGET), FLIP32F3OSD)
15 FEATURE_CUT_LEVEL = 2
17 TARGET_SRC += \
18 drivers/accgyro/accgyro_mpu6500.c
19 else
20 ifeq ($(TARGET), ZCOREF3)
21 FEATURE_CUT_LEVEL = 2
23 TARGET_SRC += \
24 drivers/accgyro/accgyro_mpu6500.c \
25 drivers/accgyro/accgyro_spi_mpu6500.c
26 else
27 ifeq ($(TARGET), IRCSYNERGYF3)
28 FEATURE_CUT_LEVEL = 1
30 TARGET_SRC += \
31 drivers/accgyro/accgyro_spi_mpu6000.c
32 else
33 FEATURE_CUT_LEVEL = 6
35 TARGET_SRC += \
36 drivers/accgyro/accgyro_mpu6050.c
37 endif
38 endif
39 endif