diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index e73baeb8f4..dabe78af19 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -431,7 +431,8 @@ BUILD_OPTIONS = [ 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), + Feature('CAN', 'DroneCAN', 'HAL_ENABLE_DRONECAN_DRIVERS', 'Enable DroneCAN support', 0, None), + Feature('CAN', 'CAN Logging', 'AP_CAN_LOGGING_ENABLED', 'Enable CAN logging support', 0, None), ] BUILD_OPTIONS.sort(key=lambda x: (x.category + x.label)) diff --git a/Tools/scripts/extract_features.py b/Tools/scripts/extract_features.py index 99a36b9af0..eeb6909aa1 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -283,6 +283,7 @@ class ExtractFeatures(object): ('AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED', r'GCS_MAVLINK_Plane::handle_command_int_guided_slew_commands'), ('AP_SERIALMANAGER_REGISTER_ENABLED', r'AP_SerialManager::register_port'), ('AP_QUICKTUNE_ENABLED', r'AP_Quicktune::update'), + ('AP_CAN_LOGGING_ENABLED', r'AP_CANManager::can_logging_callback'), ] def progress(self, msg):