From 956b66f1f24dc8ba5ac11f997d9c73309c93822a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 10 Mar 2023 22:24:17 +1100 Subject: [PATCH] Tools: specify compass feature enables for periph in chibios_hwdef.py --- Tools/ardupilotwaf/boards.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index d32e70011e..651dd34043 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -770,6 +770,14 @@ class sitl_periph_gps(sitl): CANARD_ENABLE_CANFD = 1, CANARD_MULTI_IFACE = 1, HAL_CANMANAGER_ENABLED = 0, + COMPASS_CAL_ENABLED = 0, + COMPASS_MOT_ENABLED = 0, + COMPASS_LEARN_ENABLED = 0, + AP_BATTERY_ESC_ENABLED = 0, + HAL_EXTERNAL_AHRS_ENABLED = 0, + HAL_GENERATOR_ENABLED = 0, + AP_STATS_ENABLED = 0, + HAL_SUPPORT_RCOUT_SERIAL = 0, ) # libcanard is written for 32bit platforms env.CXXFLAGS += [