From f186f612f9a7a6c084a329f671b12043bf844fc1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 18 Mar 2022 18:17:34 +1100 Subject: [PATCH] AP_HAL_ChibiOS: enable Solo Gimbal only on CubeGreen --- libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/hwdef.dat | 2 ++ libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/hwdef.dat | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/hwdef.dat index a594650bed..12804f9f7d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeGreen-solo/hwdef.dat @@ -12,4 +12,6 @@ env DEFAULT_PARAMETERS 'Tools/Frame_params/Solo_Copter-4_GreenCube.param' define HAL_OREO_LED_ENABLED 1 +define HAL_SOLO_GIMBAL_ENABLED HAL_MOUNT_ENABLED + AUTOBUILD_TARGETS Copter diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/hwdef.dat index b5bd97b349..696118b716 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeSolo/hwdef.dat @@ -52,4 +52,6 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_OREO_LED_ENABLED 1 define HAL_IMU_TEMP_MARGIN_LOW_DEFAULT 5 +define HAL_SOLO_GIMBAL_ENABLED HAL_MOUNT_ENABLED + AUTOBUILD_TARGETS Copter