Tools: added option for CAN logging
This commit is contained in:
parent
c2864b5733
commit
7023650c69
@ -434,7 +434,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))
|
||||||
|
@ -285,6 +285,7 @@ class ExtractFeatures(object):
|
|||||||
('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_FILTER_ENABLED', r'AP_Filters::update'),
|
('AP_FILTER_ENABLED', r'AP_Filters::update'),
|
||||||
|
('AP_CAN_LOGGING_ENABLED', r'AP_CANManager::can_logging_callback'),
|
||||||
]
|
]
|
||||||
|
|
||||||
def progress(self, msg):
|
def progress(self, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user