mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Add compass support for EXF722DUAL board.
This commit is contained in:
parent
040724bacd
commit
31e951570f
2 changed files with 7 additions and 0 deletions
|
@ -118,6 +118,11 @@
|
||||||
#define USE_BARO_BMP280
|
#define USE_BARO_BMP280
|
||||||
#define DEFAULT_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 USE_ADC
|
||||||
#define ADC_INSTANCE ADC3
|
#define ADC_INSTANCE ADC3
|
||||||
#define ADC3_DMA_OPT 0 // DMA 2 Stream 0 Channel 2
|
#define ADC3_DMA_OPT 0 // DMA 2 Stream 0 Channel 2
|
||||||
|
|
|
@ -5,4 +5,6 @@ TARGET_SRC = \
|
||||||
drivers/compass/compass_fake.c \
|
drivers/compass/compass_fake.c \
|
||||||
drivers/accgyro/accgyro_spi_icm20689.c \
|
drivers/accgyro/accgyro_spi_icm20689.c \
|
||||||
drivers/barometer/barometer_bmp280.c \
|
drivers/barometer/barometer_bmp280.c \
|
||||||
|
drivers/compass/compass_hmc5883l.c \
|
||||||
|
drivers/compass/compass_qmc5883l.c \
|
||||||
drivers/max7456.c
|
drivers/max7456.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue