diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat index 895e3703bc86b..c2d5beca9a014 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat @@ -95,6 +95,10 @@ COMPASS IST8310 I2C:0:0x0E false ROTATION_NONE # compass RM3100 on can-F9P-v2 COMPASS RM3100 I2C:0:0x20 false ROTATION_NONE +# baro, disabled by default +BARO ICP201XX I2C:0:0x64 +define AP_PERIPH_BARO_ENABLE_DEFAULT 0 + define HAL_USE_ADC FALSE define STM32_ADC_USE_ADC1 FALSE define HAL_DISABLE_ADC_DRIVER TRUE @@ -133,6 +137,7 @@ define GPS_MOVING_BASELINE 1 # GPS+MAG+LEDs define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_MAG +define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_NOTIFY define HAL_PERIPH_ENABLE_RC_OUT