1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

Add compass support for EXF722DUAL board.

This commit is contained in:
LinJieqiang 2019-10-23 21:58:47 +08:00
parent 040724bacd
commit 31e951570f
2 changed files with 7 additions and 0 deletions

View file

@ -118,6 +118,11 @@
#define USE_BARO_BMP280
#define DEFAULT_BARO_BMP280
#define USE_MAG
#define USE_MAG_HMC5883
#define USE_MAG_QMC5883
#define MAG_I2C_INSTANCE (I2CDEV_2)
#define USE_ADC
#define ADC_INSTANCE ADC3
#define ADC3_DMA_OPT 0 // DMA 2 Stream 0 Channel 2

View file

@ -5,4 +5,6 @@ TARGET_SRC = \
drivers/compass/compass_fake.c \
drivers/accgyro/accgyro_spi_icm20689.c \
drivers/barometer/barometer_bmp280.c \
drivers/compass/compass_hmc5883l.c \
drivers/compass/compass_qmc5883l.c \
drivers/max7456.c