mirror of https://github.com/ArduPilot/ardupilot
Tools: make sdcard formatting a build option
This commit is contained in:
parent
2703928fb2
commit
ce11532800
|
@ -277,6 +277,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_FORMATTING', 'AP_FILESYSTEM_FORMAT_ENABLED', 'Enable formatting of 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'),
|
||||
|
|
|
@ -188,6 +188,7 @@ class ExtractFeatures(object):
|
|||
('AP_NOTIFY_PROFILED_ENABLED', r'ProfiLED::init_ports'),
|
||||
('AP_NOTIFY_PROFILED_SPI_ENABLED', r'ProfiLED_SPI::rgb_set_id'),
|
||||
('AP_NOTIFY_NEOPIXEL_ENABLED', r'NeoPixel::init_ports'),
|
||||
('AP_FILESYSTEM_FORMAT_ENABLED', r'f_mkfs'),
|
||||
]
|
||||
|
||||
def progress(self, msg):
|
||||
|
|
Loading…
Reference in New Issue