Fork of FATFileSystem by
Revision 5:5746af5f56e3, committed 2015-03-12
- Comitter:
- sbts
- Date:
- Thu Mar 12 02:24:40 2015 +0000
- Parent:
- 4:3ff2606d5713
- Commit message:
- Added local_ffconf.h #include and fragment to ffconf.h
Changed in this revision
ChaN/ffconf.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3ff2606d5713 -r 5746af5f56e3 ChaN/ffconf.h --- a/ChaN/ffconf.h Thu Aug 28 13:15:31 2014 +0100 +++ b/ChaN/ffconf.h Thu Mar 12 02:24:40 2015 +0000 @@ -6,6 +6,56 @@ / the configuration options. / /----------------------------------------------------------------------------*/ + +/** Fat Filesystem Local Configuration File +/ * DO NOT MAKE per Project changes to ffconf.h +/ * Insetad, copy this fragment into a new project file +/ * (anyware in the Directory Tree) called local_ffconf.h +/ * +/ * +/ * Start of file local_ffconf.h +//---------------------------------------------------------------------------- +// FatFs - FAT file system module configuration file R0.09a (C)ChaN, 2012 +//---------------------------------------------------------------------------- +// +// CAUTION! Do not forget to make clean the project after any changes to +// the configuration options. +// +//---------------------------------------------------------------------------- +#ifndef LOCAL_FFCONF_H + #define LOCAL_FFCONF_H 1000 // Revision ID +// +//--------------------------------------------------------------------------- +// This file can be used to override and validate settings in +// FATFileSystem/ChaN/ffconf.h +// It should contain all settings from that file including the defaults. +// for settings that need to be "Different" from the defaults don't forget to +// #undef xyz +// #define xyz new_value +// You should only #undef settings that need to change. +// This helps protect you against unexpected changes to the library config +// after an update. +//---------------------------------------------------------------------------- + +//--------------------------------------------------------------------------- +// Insert your config below this comment. +// It is recommended that you put all config options in here, +// but only #undef the ones that are different from defaults +// that way you will get a warning if the defaults change in the future +//---------------------------------------------------------------------------- + // example overriding a default + // #undef _FS_TINY + // #define _FS_TINY 1 // 0:Normal or 1:Tiny + + // example confirming a default + // #define _FS_READONLY 0 // 0:Read/Write or 1:Read only +#endif // LOCAL_FFCONF_H +/ * end of file local_ffconf.h +*/ + + + + #ifndef _FFCONF #define _FFCONF 4004 /* Revision ID */ @@ -194,5 +244,7 @@ Clusters are group of sectors (eg: 8 sectors). Flushing on new cluster means it would be less often than flushing on new sector. Sectors are generally 512 Bytes long. */ + +#include local_ffconf.h #endif /* _FFCONFIG */