From d18ac5f7932b7a2412f898dea2b001a6314f545e Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Mon, 25 Nov 2024 10:16:23 -0800 Subject: [PATCH] Tools: add ADSB UCP set config build option --- Tools/scripts/build_options.py | 1 + Tools/scripts/extract_features.py | 1 + 2 files changed, 2 insertions(+) diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index f31edfaf87..0ce10baac7 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -67,6 +67,7 @@ BUILD_OPTIONS = [ Feature('Ident', 'ADSB_SAGETECH_MXS', 'HAL_ADSB_SAGETECH_MXS_ENABLED', 'Enable Sagetech MXS ADSB', 0, 'ADSB'), Feature('Ident', 'ADSB_UAVIONIX', 'HAL_ADSB_UAVIONIX_MAVLINK_ENABLED', 'Enable UAvionix ADSB', 0, 'ADSB'), Feature('Ident', 'ADSB_UAVIONX_UCP', 'HAL_ADSB_UCP_ENABLED', 'Enable uAvionix UCP ADSB', 0 , 'ADSB'), + Feature('Ident', 'ADSB_UAVIONIX_SET_CONFIG', 'HAL_ADSB_UCP_SET_CONFIG', 'Enable uAvionix set static config', 0 , 'ADSB'), Feature('Ident', 'AIS', 'AP_AIS_ENABLED', 'Enable AIS', 0, None), Feature('Ident', 'OpenDroneID', 'AP_OPENDRONEID_ENABLED', 'Enable OpenDroneID (Remote ID)', 0, None), diff --git a/Tools/scripts/extract_features.py b/Tools/scripts/extract_features.py index de6eec6589..ed42c15fb9 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -52,6 +52,7 @@ class ExtractFeatures(object): ('HAL_ADSB_ENABLED', 'AP_ADSB::AP_ADSB',), ('HAL_ADSB_{type}_ENABLED', r'AP_ADSB_(?P.*)::update',), ('HAL_ADSB_UCP_ENABLED', 'AP_ADSB_uAvionix_UCP::update',), + ('HAL_ADSB_UCP_SET_CONFIG', 'AP_ADSB_uAvionix_UCP::update_Transponder_Config',), ('AP_COMPASS_{type}_ENABLED', r'AP_Compass_(?P.*)::read\b',), ('AP_COMPASS_ICM20948_ENABLED', r'AP_Compass_AK09916::probe_ICM20948',),