diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index 6ca1132d07..2ec8586945 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -290,6 +290,7 @@ BUILD_OPTIONS = [ Feature('Other', 'SCRIPTING', 'AP_SCRIPTING_ENABLED', 'Enable LUA Scripting', 0, None), Feature('Other', 'SLCAN', 'AP_CAN_SLCAN_ENABLED', 'Enable SLCAN serial protocol', 0, None), Feature('Other', 'SDCARD_MISSION', 'AP_SDCARD_STORAGE_ENABLED', 'Enable storing mission on microSD cards', 0, None), + Feature('Other', 'COMPASS_CAL', 'COMPASS_CAL_ENABLED', 'Enable "tumble" compass calibration', 0, None), # MAVLink section for mavlink features and/or message handling, # rather than for e.g. mavlink-based sensor drivers diff --git a/Tools/scripts/extract_features.py b/Tools/scripts/extract_features.py index ac3ef6b723..622af63c19 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -218,6 +218,7 @@ class ExtractFeatures(object): ('AP_DRONECAN_HIMARK_SERVO_SUPPORT', 'AP_DroneCAN::SRV_send_himark'), ('AP_DRONECAN_HOBBYWING_ESC_SUPPORT', 'AP_DroneCAN::hobbywing_ESC_update'), + ('COMPASS_CAL_ENABLED', 'CompassCalibrator::stop'), ] def progress(self, msg):