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
This commit is contained in:
Peter Barker 2024-09-01 09:52:51 +10:00 committed by Peter Barker
parent 18e1a1f630
commit 3079ddd1b2

View File

@ -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?"