Merge pull request #11195 from mathiasvr/pr-elrs-clean
[betaflight.git] / src / main / target / FURYF4 / target.mk
blob467449f1ddbc000a436a10b1b74531e4ca9798bf
1 F405_TARGETS += $(TARGET)
2 ifeq ($(TARGET), FURYF4OSD)
3 FEATURES += VCP ONBOARDFLASH
4 else
5 FEATURES += VCP ONBOARDFLASH SDCARD_SPI
6 endif
8 TARGET_SRC = \
9 drivers/accgyro/accgyro_spi_mpu6000.c \
10 drivers/accgyro/accgyro_spi_mpu6500.c \
11 drivers/accgyro/accgyro_mpu6500.c \
12 drivers/accgyro/accgyro_spi_icm20689.c
14 ifeq ($(TARGET), FURYF4OSD)
15 TARGET_SRC += \
16 drivers/max7456.c
17 endif
18 TARGET_SRC += \
19 drivers/barometer/barometer_ms5611.c \
20 drivers/barometer/barometer_bmp280.c \
21 drivers/compass/compass_hmc5883l.c \
22 drivers/compass/compass_qmc5883l.c \
23 drivers/compass/compass_lis3mdl.c