Merge pull request #11195 from mathiasvr/pr-elrs-clean
[betaflight.git] / src / main / target / NUCLEOH743 / target.mk
blobdfe14af61f0a40f5f1cd7078b639e01888e10569
1 H743xI_TARGETS += $(TARGET)
4 ifeq ($(TARGET), NUCLEOH743_RAMBASED)
5 FEATURES += VCP ONBOARDFLASH
6 RAM_BASED = yes
7 else
8 FEATURES += VCP ONBOARDFLASH SDCARD_SDIO
9 endif
11 # Top level Makefile adds, if not defined, HSE_VALUE, as default for F4 targets.
12 # We don't want to assume any particular value until de facto design is established,
13 # so we set the value here.
15 # However, HSE_VALUE is currently a global build option and can not be changed from
16 # board to board. Generic target will have to store this value as a PG variable and
17 # change clock on the fly after the PG became readable.
19 HSE_VALUE = 8000000 # For NUCLEO-H743ZI with STLINK, HSE is 8MHz from STLINK
21 TARGET_SRC = \
22 drivers/accgyro/accgyro_fake.c \
23 drivers/accgyro/accgyro_mpu.c \
24 drivers/accgyro/accgyro_mpu6500.c \
25 drivers/accgyro/accgyro_spi_mpu6000.c \
26 drivers/accgyro/accgyro_spi_mpu6500.c \
27 drivers/accgyro/accgyro_spi_mpu9250.c \
28 drivers/accgyro/accgyro_spi_icm426xx.c \
29 drivers/accgyro/accgyro_mpu6050.c \
30 drivers/barometer/barometer_bmp085.c \
31 drivers/barometer/barometer_bmp280.c \
32 drivers/barometer/barometer_bmp388.c \
33 drivers/barometer/barometer_ms5611.c \
34 drivers/compass/compass_hmc5883l.c \
35 drivers/max7456.c \