diff options
Diffstat (limited to 'fatfs/src/ffconf.h')
-rw-r--r-- | fatfs/src/ffconf.h | 13 |
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 */ - |