mirror of https://github.com/ArduPilot/ardupilot
build_options.py: add winch backends
This commit is contained in:
parent
1e001fa017
commit
f849187333
|
@ -191,6 +191,9 @@ BUILD_OPTIONS = [
|
|||
Feature('Payload', 'SPRAYER', 'HAL_SPRAYER_ENABLED', 'Enable Sprayer', 0, None),
|
||||
Feature('Payload', 'LANDING_GEAR', 'AP_LANDINGGEAR_ENABLED', 'Enable Landing Gear', 0, None),
|
||||
Feature('Payload', 'WINCH', 'AP_WINCH_ENABLED', 'Enable Winch', 0, None),
|
||||
Feature('Payload', 'WINCH_DAIWA', 'AP_WINCH_DAIWA_ENABLED', 'Enable DAIWA Winch support', 0, 'WINCH'),
|
||||
Feature('Payload', 'WINCH_PWM', 'AP_WINCH_PWM_ENABLED', 'Enable PWM Winch support', 0, 'WINCH'),
|
||||
|
||||
Feature('Payload', 'RELAY', 'AP_RELAY_ENABLED', 'Enable Relay support', 0, None),
|
||||
Feature('Payload', 'SERVORELAY_EVENTS', 'AP_SERVORELAYEVENTS_ENABLED', 'Enable Servo/Relay Event support', 0, None),
|
||||
|
||||
|
|
|
@ -170,6 +170,7 @@ class ExtractFeatures(object):
|
|||
('HAL_SPRAYER_ENABLED', 'AC_Sprayer::AC_Sprayer',),
|
||||
('AP_LANDINGGEAR_ENABLED', r'AP_LandingGear::init\b',),
|
||||
('AP_WINCH_ENABLED', 'AP_Winch::AP_Winch',),
|
||||
('AP_WINCH_{type}_ENABLED', r'AP_Winch_(?P<type>.*)::update\b',),
|
||||
('AP_RELAY_ENABLED', 'AP_Relay::init',),
|
||||
('AP_SERVORELAYEVENTS_ENABLED', 'AP_ServoRelayEvents::update_events',),
|
||||
|
||||
|
|
Loading…
Reference in New Issue