From f6e93ad12b84e18e812dc169a5e67e3ac453a311 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 9 Aug 2023 18:49:16 +1000 Subject: [PATCH] Tools: add build_options.py option to remove rallypoint protocol --- 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 e6dde1f892..170b17a174 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -288,6 +288,7 @@ BUILD_OPTIONS = [ Feature('Other', 'SCRIPTING', 'AP_SCRIPTING_ENABLED', 'Enable LUA Scripting', 0, None), Feature('Other', 'SLCAN', 'AP_CAN_SLCAN_ENABLED', 'Enable SLCAN serial protocol', 0, None), Feature('Other', 'FENCEPOINT_PROTOCOL', 'AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT', 'Enable old MAVLink FencePoint protocol', 0, None), # noqa + Feature('Other', 'RALLYPOINT_PROTOCOL', 'AP_MAVLINK_RALLY_POINT_PROTOCOL_ENABLED', 'Enable old MAVLink RallyPoint protocol', 0, None), # noqa Feature('Developer', 'KILL_IMU', 'AP_INERTIALSENSOR_KILL_IMU_ENABLED', 'Allow IMUs to be disabled at runtime', 0, None), Feature('Developer', 'CRASHCATCHER', 'AP_CRASHDUMP_ENABLED', 'Enable CrashCatcher', 0, None), diff --git a/Tools/scripts/extract_features.py b/Tools/scripts/extract_features.py index 2a5a0e17df..b0d5bf9888 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -201,6 +201,7 @@ class ExtractFeatures(object): ('AP_CRASHDUMP_ENABLED', 'CrashCatcher_DumpMemory'), ('AP_CAN_SLCAN_ENABLED', 'SLCAN::CANIface::var_info'), ('AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT', 'AC_PolyFence_loader::handle_msg_fetch_fence_point'), + ('AP_MAVLINK_RALLY_POINT_PROTOCOL_ENABLED', 'GCS_MAVLINK::handle_common_rally_message'), ] def progress(self, msg):