Tools: add build_options.py option to remove rallypoint protocol

This commit is contained in:
Peter Barker 2023-08-09 18:49:16 +10:00 committed by Andrew Tridgell
parent 7764d1d904
commit f6e93ad12b
2 changed files with 2 additions and 0 deletions

View File

@ -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),

View File

@ -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):