This is SDFileSystem which corrected the bug for MiMicSDK.

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Fork of SDFileSystem by mbed official

Revision:
6:972a52e4d92c
Parent:
5:2c7b6bd5b079
--- a/FATFileSystem/ChaN/ff.h	Thu Apr 25 02:14:56 2013 +0000
+++ b/FATFileSystem/ChaN/ff.h	Fri Apr 26 09:07:37 2013 +0000
@@ -203,25 +203,25 @@
 /* FatFs module application interface                           */
 
 FRESULT f_mount (BYTE, FATFS*);                     /* Mount/Unmount a logical drive */
-FRESULT f_open (FIL*, const TCHAR*, BYTE);          /* Open or create a file */
+FRESULT f_open (FIL*,int,const TCHAR*, BYTE);          /* Open or create a file */
 FRESULT f_read (FIL*, void*, UINT, UINT*);          /* Read data from a file */
 FRESULT f_lseek (FIL*, DWORD);                      /* Move file pointer of a file object */
 FRESULT f_close (FIL*);                             /* Close an open file object */
-FRESULT f_opendir (FATFS_DIR*, const TCHAR*);             /* Open an existing directory */
+FRESULT f_opendir (FATFS_DIR*,int, const TCHAR*);             /* Open an existing directory */
 FRESULT f_readdir (FATFS_DIR*, FILINFO*);                 /* Read a directory item */
-FRESULT f_stat (const TCHAR*, FILINFO*);            /* Get file status */
+FRESULT f_stat (int,const TCHAR*, FILINFO*);            /* Get file status */
 FRESULT f_write (FIL*, const void*, UINT, UINT*);   /* Write data to a file */
-FRESULT f_getfree (const TCHAR*, DWORD*, FATFS**);  /* Get number of free clusters on the drive */
+FRESULT f_getfree (int,const TCHAR*, DWORD*, FATFS**);  /* Get number of free clusters on the drive */
 FRESULT f_truncate (FIL*);                          /* Truncate file */
 FRESULT f_sync (FIL*);                              /* Flush cached data of a writing file */
-FRESULT f_unlink (const TCHAR*);                    /* Delete an existing file or directory */
-FRESULT f_mkdir (const TCHAR*);                     /* Create a new directory */
-FRESULT f_chmod (const TCHAR*, BYTE, BYTE);         /* Change attribute of the file/dir */
-FRESULT f_utime (const TCHAR*, const FILINFO*);     /* Change times-tamp of the file/dir */
-FRESULT f_rename (const TCHAR*, const TCHAR*);      /* Rename/Move a file or directory */
+FRESULT f_unlink (int,const TCHAR*);                    /* Delete an existing file or directory */
+FRESULT f_mkdir (int,const TCHAR*);                     /* Create a new directory */
+FRESULT f_chmod (int,const TCHAR*, BYTE, BYTE);         /* Change attribute of the file/dir */
+FRESULT f_utime (int,const TCHAR*, const FILINFO*);     /* Change times-tamp of the file/dir */
+FRESULT f_rename (int,const TCHAR*, const TCHAR*);      /* Rename/Move a file or directory */
 FRESULT f_chdrive (BYTE);                           /* Change current drive */
-FRESULT f_chdir (const TCHAR*);                     /* Change current directory */
-FRESULT f_getcwd (TCHAR*, UINT);                    /* Get current directory */
+FRESULT f_chdir (int,const TCHAR*);                     /* Change current directory */
+FRESULT f_getcwd (int,TCHAR*, UINT);                    /* Get current directory */
 FRESULT f_forward (FIL*, UINT(*)(const BYTE*,UINT), UINT, UINT*);   /* Forward data to the stream */
 FRESULT f_mkfs (BYTE, BYTE, UINT);                  /* Create a file system on the drive */
 FRESULT f_fdisk (BYTE, const DWORD[], void*);       /* Divide a physical drive into some partitions */