From 1948073438a80f64980c83bcd182c1ae0c821cd5 Mon Sep 17 00:00:00 2001 From: Hwurzburg Date: Sun, 9 Jan 2022 17:15:32 -0600 Subject: [PATCH] Tools: add build options for GPS backends --- Tools/scripts/build_options.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Tools/scripts/build_options.py b/Tools/scripts/build_options.py index 9cee43b472..7d7c83a05d 100644 --- a/Tools/scripts/build_options.py +++ b/Tools/scripts/build_options.py @@ -110,4 +110,14 @@ BUILD_OPTIONS = [ ] + Feature('GPS Drivers', 'SBP2', 'AP_GPS_SBP2_ENABLED', 'Enable SBP2 GPS', 0, 'SBP'), + Feature('GPS Drivers', 'SBP', 'AP_GPS_SBP_ENABLED', 'Enable SBP GPS', 0, None), + Feature('GPS Drivers', 'ERB', 'AP_GPS_ERB_ENABLED', 'Enable ERB GPS', 0, None), + Feature('GPS Drivers', 'GSOF', 'AP_GPS_GSOF_ENABLED', 'Enable GSOF GPS', 0, None), + Feature('GPS Drivers', 'NMEA', 'AP_GPS_NMEA_ENABLED', 'Enable NMEA GPS', 0, None), + Feature('GPS Drivers', 'MAV', 'AP_GPS_MAV_ENABLED', 'Enable MAVLink GPS', 0, None), + Feature('GPS Drivers', 'NOVA', 'AP_GPS_NOVA_ENABLED', 'Enable NOVA GPS', 0, None), + Feature('GPS Drivers', 'SBF', 'AP_GPS_SBF_ENABLED', 'Enable SBF GPS', 0, None), + Feature('GPS Drivers', 'SIRF', 'AP_GPS_SIRF_ENABLED', 'Enable SiRF GPS', 0, None), + BUILD_OPTIONS.sort(key=lambda x: x.category)