Tools: add advanced failsafe to build options
This commit is contained in:
parent
7b8c69d505
commit
b3de3364e2
@ -218,6 +218,7 @@ BUILD_OPTIONS = [
|
||||
Feature('Other', 'DISPLAY', 'HAL_DISPLAY_ENABLED', 'Enable I2C Displays', 0, None),
|
||||
Feature('Other', 'NMEA_OUTPUT', 'HAL_NMEA_OUTPUT_ENABLED', 'Enable NMEA Output', 0, None),
|
||||
Feature('Other', 'BARO_WIND_COMP', 'HAL_BARO_WIND_COMP_ENABLED', 'Enable Baro Wind Compensation', 0, None),
|
||||
Feature('Other', 'ADVANCED_FAILSAFE', 'AP_ADVANCEDFAILSAFE_ENABLED', 'Enable Advanced Failsafe features', 0, None),
|
||||
|
||||
Feature('GPS Drivers', 'UBLOX', 'AP_GPS_UBLOX_ENABLED', 'Enable u-blox GPS', 1, None),
|
||||
Feature('GPS Drivers', 'SBP2', 'AP_GPS_SBP2_ENABLED', 'Enable SBP2 GPS', 0, 'SBP'),
|
||||
|
@ -34,6 +34,7 @@ class ExtractFeatures(object):
|
||||
# FEATURE_NAME will have substitutions made from the match.
|
||||
# the substitutions will be upper-cased
|
||||
self.features = [
|
||||
('AP_ADVANCEDFAILSAFE_ENABLED', 'AP::advancedfailsafe',),
|
||||
('AP_AIRSPEED_ENABLED', 'AP_Airspeed::AP_Airspeed',),
|
||||
('AP_AIRSPEED_{type}_ENABLED', r'AP_Airspeed_(?P<type>.*)::init',),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user