From e0f6b264d0aeeb48a66f7d893a053b3cea36c29e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 20 Jan 2023 06:55:36 +1100 Subject: [PATCH] AP_HAL_ChibiOS: use minimize.inc for Tramp and SmartAudio ... and rename HAL_SMARTAUDIO_ENABLED --- .../AP_HAL_ChibiOS/hwdef/include/minimize_features.inc | 6 ++++++ libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc index df66fcbeb9..c6d463bb0d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/include/minimize_features.inc @@ -35,3 +35,9 @@ define HAL_HOTT_TELEM_ENABLED 0 # smaller boards lose SIRF GPS support define AP_GPS_SIRF_ENABLED 0 + +# minimized boards don't get configuration via SmartAudio by default: +define AP_SMARTAUDIO_ENABLED 0 + +# minimized boards don't get configuration via Tramp by default: +define AP_TRAMP_ENABLED 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat index 6a180b6aac..d5dbf86c6e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat @@ -91,7 +91,7 @@ define HAL_NMEA_OUTPUT_ENABLED 0 define HAL_PARACHUTE_ENABLED 0 define HAL_PICCOLO_CAN_ENABLE 0 define HAL_RUNCAM_ENABLED 0 -define HAL_SMARTAUDIO_ENABLED 0 +define AP_SMARTAUDIO_ENABLED 0 define HAL_SPEKTRUM_TELEM_ENABLED 0 define HAL_SPRAYER_ENABLED 0 define HAL_WITH_ESC_TELEM 0