Tools: configuration of Precision Landing for custom build server

This commit is contained in:
tzarjakob 2023-03-22 09:45:41 +01:00 committed by Peter Barker
parent caee9f271a
commit 6fa14ffe87
3 changed files with 4 additions and 1 deletions

View File

@ -2780,7 +2780,7 @@ class AutoTest(ABC):
continue
if "#if FRAME_CONFIG == HELI_FRAME" in line:
continue
if "#if PRECISION_LANDING == ENABLED" in line:
if "#if AC_PRECLAND_ENABLED" in line:
continue
if "#end" in line:
continue

View File

@ -284,6 +284,7 @@ BUILD_OPTIONS = [
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('Precision Landing', 'PrecLand', 'AC_PRECLAND_ENABLED', 'Enable Precision Landing support', 0, None),
]
BUILD_OPTIONS.sort(key=lambda x: (x.category + x.label))

View File

@ -39,6 +39,8 @@ class ExtractFeatures(object):
('AP_AIRSPEED_ENABLED', 'AP_Airspeed::AP_Airspeed',),
('AP_AIRSPEED_{type}_ENABLED', r'AP_Airspeed_(?P<type>.*)::init',),
('AC_PRECLAND_ENABLED', 'AC_PrecLand::AC_PrecLand',),
('HAL_ADSB_ENABLED', 'AP_ADSB::AP_ADSB',),
('HAL_ADSB_{type}_ENABLED', r'AP_ADSB_(?P<type>.*)::update',),
('HAL_ADSB_UCP_ENABLED', 'AP_ADSB_uAvionix_UCP::update',),