A re-written SDFileSystem library with improved compatibility, CRC support, and card removal/replacement support.

Dependencies:   FATFileSystem

Dependents:   xadow_m0_SD_Hello roam_v1 roam_v2 Polytech_tours ... more

Revision:
3:7cf3d1835ef5
Parent:
1:25f4ba436b81
Child:
4:49b29888eca7
diff -r eec1db773e7d -r 7cf3d1835ef5 SDFileSystem.h
--- a/SDFileSystem.h	Wed Jul 30 17:40:10 2014 +0000
+++ b/SDFileSystem.h	Wed Jul 30 17:45:02 2014 +0000
@@ -87,12 +87,12 @@
      * @param miso The SPI data in pin.
      * @param sclk The SPI clock pin.
      * @param cs The SPI chip select pin.
+     * @param name The name used to access the virtual filesystem.
      * @param cd The card detect pin.
-     * @param name The name used to access the virtual filesystem.
      * @param cdtype The type of card detect switch (defaults to SWITCH_NO).
      * @param hz The SPI bus frequency (defaults to 1MHz).
      */
-    SDFileSystem(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName cd, const char* name, SwitchType cdtype = SWITCH_NO, int hz = 1000000);
+    SDFileSystem(PinName mosi, PinName miso, PinName sclk, PinName cs, const char* name, PinName cd, SwitchType cdtype = SWITCH_NO, int hz = 1000000);
 
     /** Get the detected SD/MMC card type
      *