]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/src/ffconf.h
Integrate fatfs. Add some sd card test commands.
[z180-stamp.git] / fatfs / src / ffconf.h
index 04429453f7e91a7fd7291878caeff4a1887fd3f1..adc4b87462a4183ccf3e56fd4965629a784bb51f 100644 (file)
@@ -51,7 +51,7 @@
 /* This option switches fast seek feature. (0:Disable or 1:Enable) */
 
 
-#define _USE_LABEL             0
+#define _USE_LABEL             1
 /* This option switches volume label functions, f_getlabel() and f_setlabel().
 /  (0:Disable or 1:Enable) */
 
@@ -65,7 +65,7 @@
 / Locale and Namespace Configurations
 /---------------------------------------------------------------------------*/
 
-#define _CODE_PAGE     932
+#define _CODE_PAGE     858
 /* This option specifies the OEM code page to be used on the target system.
 /  Incorrect setting of the code page can cause a file open failure.
 /
@@ -97,8 +97,8 @@
 /   1    - ASCII (No extended character. Valid for only non-LFN configuration.) */
 
 
-#define        _USE_LFN        0
-#define        _MAX_LFN        255
+#define        _USE_LFN        1
+#define        _MAX_LFN        128
 /* The _USE_LFN option switches the LFN feature.
 /
 /   0: Disable LFN feature. _MAX_LFN has no effect.
 /  When _LFN_UNICODE is 0, this option has no effect. */
 
 
-#define _FS_RPATH      0
+#define _FS_RPATH      2
 /* This option configures relative path feature.
 /
 /   0: Disable relative path feature and remove related functions.
 /  defined by _NORTC_MON, _NORTC_MDAY and _NORTC_YEAR.
 /  When timestamp feature is enabled (_FS_NORTC        == 0), get_fattime() function need
 /  to be added to the project to read current time form RTC. _NORTC_MON,
-/  _NORTC_MDAY and _NORTC_YEAR have no effect. 
+/  _NORTC_MDAY and _NORTC_YEAR have no effect.
 /  These options have no effect at read-only configuration (_FS_READONLY == 1). */
 
 
 /   PIC24       0           H8S         0           MSP430      0
 /   PIC32       0           H8/300H     0           8051        0/1
 */
-