Tools: allow selection of sdcard storage

this has been requested for MatekF765-Wing
This commit is contained in:
Andrew Tridgell 2023-09-04 14:47:47 +10:00 committed by Randy Mackay
parent dbfce61d69
commit fea3caf610
2 changed files with 3 additions and 0 deletions

View File

@ -251,6 +251,7 @@ BUILD_OPTIONS = [
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('Other', 'SDCARD_MISSION', 'AP_SDCARD_STORAGE_ENABLED', 'Enable storing mission on microSD cards', 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'),

View File

@ -179,6 +179,8 @@ class ExtractFeatures(object):
('AP_DRONECAN_HIMARK_SERVO_ENABLED', 'AP_UAVCAN::SRV_send_himark'),
('AP_DRONECAN_HOBBYWING_ESC_ENABLED', 'AP_UAVCAN::hobbywing_ESC_update'),
('AP_SDCARD_STORAGE_ENABLED', 'StorageAccess::attach_file'),
]
def progress(self, msg):