build_options.py: add options for companion and IRLock

This commit is contained in:
Peter Barker 2023-03-27 09:29:34 +11:00 committed by Andrew Tridgell
parent 09dbf53454
commit 149b0e68f2

View File

@ -285,6 +285,8 @@ BUILD_OPTIONS = [
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),
Feature('Precision Landing', 'PrecLand - Companion', 'AC_PRECLAND_COMPANION_ENABLED', 'Enable Companion-Supported Precision Landing support', 0, "PrecLand"), # noqa
Feature('Precision Landing', 'PrecLand - IRLock', 'AC_PRECLAND_IRLOCK_ENABLED', 'Enable IRLock-Supported Precision Landing support', 0, "PrecLand"), # noqa
]
BUILD_OPTIONS.sort(key=lambda x: (x.category + x.label))