summaryrefslogtreecommitdiff
path: root/fatfs/src/ffconf.h
diff options
context:
space:
mode:
authorLeo C2014-11-22 13:07:04 +0100
committerLeo C2014-11-22 13:07:04 +0100
commit7f552300815ccadd45ebb3e7f0ae72a3b2e0c4e5 (patch)
tree1bb9ac83ce7fb1f6a99c6dd3445b2758330dcc95 /fatfs/src/ffconf.h
parent05994bd90cb36f10ff72c6a70d7cecc61b67fb2f (diff)
downloadz180-stamp-7f552300815ccadd45ebb3e7f0ae72a3b2e0c4e5.zip
Integrate fatfs. Add some sd card test commands.
Diffstat (limited to 'fatfs/src/ffconf.h')
-rw-r--r--fatfs/src/ffconf.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/fatfs/src/ffconf.h b/fatfs/src/ffconf.h
index 0442945..adc4b87 100644
--- a/fatfs/src/ffconf.h
+++ b/fatfs/src/ffconf.h
@@ -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.
@@ -131,7 +131,7 @@
/ 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.
@@ -209,7 +209,7 @@
/ 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). */
@@ -267,4 +267,3 @@
/ PIC24 0 H8S 0 MSP430 0
/ PIC32 0 H8/300H 0 8051 0/1
*/
-