Tools: allow PID filtering to be enabled on custom build server

we have a small plane with a SpeedyBeedF405Wing, 1M flash, that needs
PID filtering for some structural modes
This commit is contained in:
Andrew Tridgell 2024-12-01 11:37:10 +11:00
parent e4de4c9b41
commit 7a0af16d6c
2 changed files with 2 additions and 0 deletions

View File

@ -358,6 +358,7 @@ BUILD_OPTIONS = [
Feature('Other', 'Buttons', 'HAL_BUTTON_ENABLED', 'Enable Buttons', 0, None),
Feature('Other', 'Logging', 'HAL_LOGGING_ENABLED', 'Enable Logging', 0, None),
Feature('Other', 'CUSTOM_ROTATIONS', 'AP_CUSTOMROTATIONS_ENABLED', 'Enable Custom sensor rotations', 0, None),
Feature('Other', 'PID_FILTERING', 'AP_FILTER_ENABLED', 'Enable PID filtering', 0, None),
# MAVLink section for mavlink features and/or message handling,
# rather than for e.g. mavlink-based sensor drivers

View File

@ -284,6 +284,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_FILTER_ENABLED', r'AP_Filters::update'),
]
def progress(self, msg):