diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index 8c8a4d38cfaee..87e427e324fb9 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -305,6 +305,7 @@ def __init__(self, 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), + Feature('Other', 'DRONECAN_SERIAL', 'AP_DRONECAN_SERIAL_ENABLED', 'Enable DroneCAN virtual serial ports', 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 80fcbc79a8157..ca1f8ab5d77b2 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -234,6 +234,7 @@ def __init__(self, filename, nm="arm-none-eabi-nm", strings="strings"): ('AP_DRONECAN_HOBBYWING_ESC_SUPPORT', 'AP_DroneCAN::hobbywing_ESC_update'), ('COMPASS_CAL_ENABLED', 'CompassCalibrator::stop'), ('AP_TUNING_ENABLED', 'AP_Tuning::check_input'), + ('AP_DRONECAN_SERIAL_ENABLED', 'AP_DroneCAN_Serial::update'), ] def progress(self, msg):