Tools: build_options.py: add option for HAL_LOGGING_ENABLED
This commit is contained in:
parent
49c3f668de
commit
b35431beb5
@ -132,7 +132,7 @@ BUILD_OPTIONS = [
|
||||
Feature('Camera', 'RUNCAM', 'HAL_RUNCAM_ENABLED', 'Enable RunCam Control', 0, None),
|
||||
|
||||
Feature('Copter', 'MODE_ZIGZAG', 'MODE_ZIGZAG_ENABLED', 'Enable Mode ZigZag', 0, None),
|
||||
Feature('Copter', 'MODE_SYSTEMID', 'MODE_SYSTEMID_ENABLED', 'Enable Mode SystemID', 0, None),
|
||||
Feature('Copter', 'MODE_SYSTEMID', 'MODE_SYSTEMID_ENABLED', 'Enable Mode SystemID', 0, 'Logging'),
|
||||
Feature('Copter', 'MODE_SPORT', 'MODE_SPORT_ENABLED', 'Enable Mode Sport', 0, None),
|
||||
Feature('Copter', 'MODE_FOLLOW', 'MODE_FOLLOW_ENABLED', 'Enable Mode Follow', 0, 'AC_AVOID'),
|
||||
Feature('Copter', 'MODE_TURTLE', 'MODE_TURTLE_ENABLED', 'Enable Mode Turtle', 0, None),
|
||||
@ -312,6 +312,7 @@ BUILD_OPTIONS = [
|
||||
Feature('Other', 'COMPASS_CAL', 'COMPASS_CAL_ENABLED', 'Enable "tumble" compass calibration', 0, None),
|
||||
Feature('Other', 'DRONECAN_SERIAL', 'AP_DRONECAN_SERIAL_ENABLED', 'Enable DroneCAN virtual serial ports', 0, None),
|
||||
Feature('Other', 'Buttons', 'HAL_BUTTON_ENABLED', 'Enable Buttons', 0, None),
|
||||
Feature('Other', 'Logging', 'HAL_LOGGING_ENABLED', 'Enable Logging', 0, None),
|
||||
|
||||
# MAVLink section for mavlink features and/or message handling,
|
||||
# rather than for e.g. mavlink-based sensor drivers
|
||||
|
@ -241,6 +241,7 @@ class ExtractFeatures(object):
|
||||
('AP_NETWORKING_BACKEND_PPP', 'AP_Networking_PPP::init'),
|
||||
('FORCE_APJ_DEFAULT_PARAMETERS', 'AP_Param::param_defaults_data'),
|
||||
('HAL_BUTTON_ENABLED', 'AP_Button::update'),
|
||||
('HAL_LOGGING_ENABLED', 'AP_Logger::Init'),
|
||||
]
|
||||
|
||||
def progress(self, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user