From 5526dac4fc9ef8a027e794e2ff56425fde4e12bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 23 Aug 2018 10:49:27 +1000 Subject: [PATCH] HAL_ChibiOS: probe all i2c baros for revo-mini this ensures we build this functionality in CI --- libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat index 108341ecfe..bb3536c5ba 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat @@ -129,6 +129,9 @@ define HAL_BARO_DEFAULT HAL_BARO_MS5611_I2C define HAL_BARO_MS5611_I2C_BUS 0 define HAL_BARO_MS5611_I2C_ADDR 0x77 +# also allow for probing of external barometers +define HAL_PROBE_EXTERNAL_I2C_BAROS + # SPI devices SPIDEV mpu6000 SPI1 DEVID1 MPU_CS MODE3 1*MHZ 8*MHZ SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 1*MHZ 8*MHZ