HAL_F4Light: add support for external baro for Matek_F405 board

This commit is contained in:
night-ghost 2018-05-07 10:57:49 +05:00 committed by Andrew Tridgell
parent b2a4b76496
commit a948c281f6

View File

@ -113,6 +113,10 @@
#define BOARD_BARO_DEFAULT HAL_BARO_BMP280_I2C #define BOARD_BARO_DEFAULT HAL_BARO_BMP280_I2C
#define HAL_BARO_BMP280_BUS BOARD_I2C_BUS_EXT #define HAL_BARO_BMP280_BUS BOARD_I2C_BUS_EXT
#define HAL_BARO_BMP280_I2C_ADDR (0x76) #define HAL_BARO_BMP280_I2C_ADDR (0x76)
#define HAL_BARO_BMP280_I2C_ADDR_ALT (0x77)
#define HAL_BARO_MS5611_I2C_BUS BOARD_I2C_BUS_EXT
#define HAL_BARO_MS5611_I2C_ADDR (0x77)
#define BOARD_COMPASS_DEFAULT HAL_COMPASS_HMC5843 #define BOARD_COMPASS_DEFAULT HAL_COMPASS_HMC5843
#define BOARD_COMPASS_HMC5843_I2C_ADDR 0x1E #define BOARD_COMPASS_HMC5843_I2C_ADDR 0x1E