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

TARGET Update: add IIC Baro, SoftSerial, 1G Flash support for EXF722DUAL board. (#8333)

TARGET Update: add IIC Baro, SoftSerial, 1G Flash support for EXF722DUAL board.
This commit is contained in:
Michael Keller 2019-05-25 23:07:49 +12:00 committed by mikeller
parent a7cfdbb4c7
commit d54a2f8aa8
2 changed files with 128 additions and 4 deletions

View file

@ -66,7 +66,9 @@
#define USE_UART3
#define USE_UART4
#define USE_UART5
#define SERIAL_PORT_COUNT 6
#define USE_SOFTSERIAL1
#define USE_SOFTSERIAL2
#define SERIAL_PORT_COUNT 8
#define UART1_TX_PIN PA9
#define UART1_RX_PIN PA10
@ -110,20 +112,23 @@
#define ENABLE_BLACKBOX_LOGGING_ON_SPIFLASH_BY_DEFAULT
#define USE_FLASHFS
#define USE_FLASH_M25P16
#define USE_FLASH_W25N01G
#define FLASH_CS_PIN PB9
#define FLASH_SPI_INSTANCE SPI3
#define USE_BARO
#define USE_BARO_BMP280
#define USE_BARO_SPI_BMP280
#define BMP280_CS_PIN PB8
#define BMP280_SPI_INSTANCE SPI3
#define DEFAULT_BARO_BMP280
#define USE_ADC
#define ADC_INSTANCE ADC3
#define ADC3_DMA_OPT 0 // DMA 2 Stream 0 Channel 2
#define USE_I2C
#define USE_I2C_DEVICE_2
#define I2C_DEVICE (I2CDEV_2)
#define I2C2_SCL PB10
#define I2C2_SDA PB11
#define VBAT_ADC_PIN PC1
#define CURRENT_METER_ADC_PIN PC2