diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index eb5d07ba85..afccb04228 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -280,6 +280,8 @@ BUILD_OPTIONS = [ Feature('Actuators', 'Volz_DroneCAN', 'AP_DRONECAN_VOLZ_FEEDBACK_ENABLED', 'Enable Volz DroneCAN Feedback', 0, None), Feature('Actuators', 'RobotisServo', 'AP_ROBOTISSERVO_ENABLED', 'Enable RobotisServo Protocol', 0, None), Feature('Actuators', 'FETTecOneWire', 'AP_FETTEC_ONEWIRE_ENABLED', 'Enable FETTec OneWire ESCs', 0, None), + Feature('Actuators', 'HimarkServo', 'AP_DRONECAN_HIMARK_SERVO_ENABLED', 'Enable Himark DroneCAN servos', 0, None), + Feature('Actuators', 'HobbywingESC', 'AP_DRONECAN_HOBBYWING_ESC_ENABLED', 'Enable Hobbywing DroneCAN ESCs', 0, None), ] diff --git a/Tools/scripts/extract_features.py b/Tools/scripts/extract_features.py index cb261eb159..e9624c30dc 100755 --- a/Tools/scripts/extract_features.py +++ b/Tools/scripts/extract_features.py @@ -176,6 +176,9 @@ class ExtractFeatures(object): ('AP_NOTIFY_PROFILED_ENABLED', r'ProfiLED::init_ports'), ('AP_NOTIFY_PROFILED_SPI_ENABLED', r'ProfiLED_SPI::rgb_set_id'), ('AP_NOTIFY_NEOPIXEL_ENABLED', r'NeoPixel::init_ports'), + + ('AP_DRONECAN_HIMARK_SERVO_ENABLED', 'AP_UAVCAN::SRV_send_himark'), + ('AP_DRONECAN_HOBBYWING_ESC_ENABLED', 'AP_UAVCAN::hobbywing_ESC_update'), ] def progress(self, msg):