Adaptation of the official mbed FATFileSystem repository to allow more than one file system volume
Dependents: DMSupport DMSupport DMSupport
Fork of DM_FATFileSystem by
Diff: ChaN/ffconf.h
- Revision:
- 6:4b97221ac12e
- Parent:
- 5:e9018c2396af
--- a/ChaN/ffconf.h Fri Oct 10 07:11:28 2014 +0000 +++ b/ChaN/ffconf.h Tue Dec 02 15:09:28 2014 +0000 @@ -11,6 +11,9 @@ #define FFS_DBG 0 +// For syncing +#define HANDLE void* + /*---------------------------------------------------------------------------/ / Functions and Buffer Configurations /----------------------------------------------------------------------------*/ @@ -91,7 +94,7 @@ */ -#define _USE_LFN 1 /* 0 to 3 */ +#define _USE_LFN 3 /* 0 to 3 */ #define _MAX_LFN 255 /* Maximum LFN length to handle (12 to 255) */ /* The _USE_LFN option switches the LFN support. / @@ -171,7 +174,7 @@ /* A header file that defines sync object types on the O/S, such as / windows.h, ucos_ii.h and semphr.h, must be included prior to ff.h. */ -#define _FS_REENTRANT 0 /* 0:Disable or 1:Enable */ +#define _FS_REENTRANT 1 /* 0:Disable or 1:Enable */ #define _FS_TIMEOUT 1000 /* Timeout period in unit of time ticks */ #define _SYNC_t HANDLE /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */