mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_F4Light: add support for external baro for Matek_F405 board
This commit is contained in:
parent
b2a4b76496
commit
a948c281f6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user