From 3079ddd1b2714bde9a351d06f3b38c5c26db1894 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 1 Sep 2024 09:52:51 +1000 Subject: [PATCH] Tools: build_options.py: update feature define whitelist two of these defines are no longer uses in the codebase, one can't be checked for because there's no symbol for it --- Tools/autotest/test_build_options.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/autotest/test_build_options.py b/Tools/autotest/test_build_options.py index a6e3c03e12..b1c82dead0 100755 --- a/Tools/autotest/test_build_options.py +++ b/Tools/autotest/test_build_options.py @@ -201,8 +201,7 @@ class TestBuildOptions(object): # or all vehicles: feature_define_whitelist = set([ 'AP_RANGEFINDER_ENABLED', # only at vehicle level ATM - 'BEACON_ENABLED', # Rover doesn't obey this (should also be AP_BEACON_ENABLED) - 'WINCH_ENABLED', # Copter doesn't use this; should use AP_WINCH_ENABLED + 'HAL_PERIPH_SUPPORT_LONG_CAN_PRINTF', # no symbol ]) if define in compiled_in_feature_defines: error = f"feature gated by {define} still compiled into ({target}); extract_features.py bug?"