mirror of https://github.com/ArduPilot/ardupilot
Tools: added option for CAN logging
This commit is contained in:
parent
d11112c0c0
commit
34e14ac6e7
|
@ -431,7 +431,8 @@ BUILD_OPTIONS = [
|
||||||
Feature('Networking', 'PPP', 'AP_NETWORKING_BACKEND_PPP', 'Enable PPP networking', 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('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))
|
BUILD_OPTIONS.sort(key=lambda x: (x.category + x.label))
|
||||||
|
|
|
@ -283,6 +283,7 @@ class ExtractFeatures(object):
|
||||||
('AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED', r'GCS_MAVLINK_Plane::handle_command_int_guided_slew_commands'),
|
('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_SERIALMANAGER_REGISTER_ENABLED', r'AP_SerialManager::register_port'),
|
||||||
('AP_QUICKTUNE_ENABLED', r'AP_Quicktune::update'),
|
('AP_QUICKTUNE_ENABLED', r'AP_Quicktune::update'),
|
||||||
|
('AP_CAN_LOGGING_ENABLED', r'AP_CANManager::can_logging_callback'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def progress(self, msg):
|
def progress(self, msg):
|
||||||
|
|
Loading…
Reference in New Issue