Fork of FATFileSystem that exposes FILINFO in the FATDirHandle. This allows obtaining true file sizes and testing whether a dir pointer is a directory or a file.

Dependents:   SDFileSystemNoStall

Fork of FATFileSystem by mbed official

Committer:
uci1
Date:
Thu Oct 30 07:01:15 2014 +0000
Revision:
6:7a3c53d25d96
Parent:
1:46ce1e16c870
Revert the fat file system back to that from 17 Mar 2014 so that it works with the SD card library, and add again the exposing of FILINFO to FATDirHandle

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 1:46ce1e16c870 1 /*-------------------------------------------*/
emilmont 1:46ce1e16c870 2 /* Integer type definitions for FatFs module */
emilmont 1:46ce1e16c870 3 /*-------------------------------------------*/
emilmont 1:46ce1e16c870 4
emilmont 1:46ce1e16c870 5 #ifndef _INTEGER
emilmont 1:46ce1e16c870 6 #define _INTEGER
emilmont 1:46ce1e16c870 7
emilmont 1:46ce1e16c870 8 #ifdef _WIN32 /* FatFs development platform */
emilmont 1:46ce1e16c870 9
emilmont 1:46ce1e16c870 10 #include <windows.h>
emilmont 1:46ce1e16c870 11 #include <tchar.h>
emilmont 1:46ce1e16c870 12
emilmont 1:46ce1e16c870 13 #else /* Embedded platform */
emilmont 1:46ce1e16c870 14
emilmont 1:46ce1e16c870 15 /* These types must be 16-bit, 32-bit or larger integer */
emilmont 1:46ce1e16c870 16 typedef int INT;
emilmont 1:46ce1e16c870 17 typedef unsigned int UINT;
emilmont 1:46ce1e16c870 18
emilmont 1:46ce1e16c870 19 /* These types must be 8-bit integer */
emilmont 1:46ce1e16c870 20 typedef char CHAR;
emilmont 1:46ce1e16c870 21 typedef unsigned char UCHAR;
emilmont 1:46ce1e16c870 22 typedef unsigned char BYTE;
emilmont 1:46ce1e16c870 23
emilmont 1:46ce1e16c870 24 /* These types must be 16-bit integer */
emilmont 1:46ce1e16c870 25 typedef short SHORT;
emilmont 1:46ce1e16c870 26 typedef unsigned short USHORT;
emilmont 1:46ce1e16c870 27 typedef unsigned short WORD;
emilmont 1:46ce1e16c870 28 typedef unsigned short WCHAR;
emilmont 1:46ce1e16c870 29
emilmont 1:46ce1e16c870 30 /* These types must be 32-bit integer */
emilmont 1:46ce1e16c870 31 typedef long LONG;
emilmont 1:46ce1e16c870 32 typedef unsigned long ULONG;
emilmont 1:46ce1e16c870 33 typedef unsigned long DWORD;
emilmont 1:46ce1e16c870 34
emilmont 1:46ce1e16c870 35 #endif
emilmont 1:46ce1e16c870 36
emilmont 1:46ce1e16c870 37 #endif