From 3ba4e8e609e0820d3c42ae4cdbe1e0b55900e2b5 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Mon, 14 Oct 2024 11:54:41 +0800 Subject: [PATCH] AP_HAL_ChibiOS: properly enable periph IMU on CubeOrange-periph and heavy --- .../AP_HAL_ChibiOS/hwdef/CubeOrange-periph-heavy/hwdef.dat | 3 +-- libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph-heavy/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph-heavy/hwdef.dat index b2dfc2a1cf47ea..2aeea2620be870 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph-heavy/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph-heavy/hwdef.dat @@ -22,10 +22,9 @@ define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_RC_OUT define HAL_PERIPH_ENABLE_NOTIFY +define HAL_PERIPH_ENABLE_IMU define HAL_LOGGING_ENABLED TRUE -define AP_INERTIALSENSOR_ENABLED 1 - # single GPS and compass for peripherals define GPS_MAX_RECEIVERS 1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat index 1d094e4ebd2b5b..8afdcc21f1f2a4 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-periph/hwdef.dat @@ -22,8 +22,8 @@ define HAL_PERIPH_ENABLE_MAG define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_RC_OUT define HAL_PERIPH_ENABLE_NOTIFY +define HAL_PERIPH_ENABLE_IMU -define AP_INERTIALSENSOR_ENABLED 1 define AP_KDECAN_ENABLED 1 # single GPS and compass for peripherals