From 6d94bb8f8125887639056682b3be145dfd3afdc4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 8 Sep 2024 14:20:44 +1000 Subject: [PATCH] Tools: added build option AP_NETWORKING_CAN_MCAST_ENABLED --- 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 078e2c1d1f..487f66211b 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -420,6 +420,7 @@ BUILD_OPTIONS = [ Feature('Filesystem', 'APJ_TOOL_PARAMETERS', 'FORCE_APJ_DEFAULT_PARAMETERS', 'Enable apj_tool parameter area', 0, None), Feature('Networking', 'PPP', 'AP_NETWORKING_BACKEND_PPP', 'Enable PPP networking', 0, None), + Feature('Networking', 'CAN MCAST', 'AP_NETWORKING_CAN_MCAST_ENABLED', 'Enable CAN multicast bridge', 0, None), Feature('DroneCAN', 'DroneCAN', 'HAL_ENABLE_DRONECAN_DRIVERS', 'Enable DroneCAN support', 0, None), ] diff --git a/Tools/scripts/extract_features.py b/Tools/scripts/extract_features.py index 54c13e39c9..f71c3eea77 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -262,6 +262,7 @@ class ExtractFeatures(object): ('AP_DRONECAN_SERIAL_ENABLED', 'AP_DroneCAN_Serial::update'), ('AP_SERIALMANAGER_IMUOUT_ENABLED', 'AP_InertialSensor::send_uart_data'), ('AP_NETWORKING_BACKEND_PPP', 'AP_Networking_PPP::init'), + ('AP_NETWORKING_CAN_MCAST_ENABLED', 'AP_Networking_CAN::start'), ('FORCE_APJ_DEFAULT_PARAMETERS', 'AP_Param::param_defaults_data'), ('HAL_BUTTON_ENABLED', 'AP_Button::update'), ('HAL_LOGGING_ENABLED', 'AP_Logger::init'),