FATFS 0.12 ffconf.h配置
/---------------------------------------------------------------------------/
/ FatFs - FAT file system module configuration file
/---------------------------------------------------------------------------/
#define _FFCONF 80186 /* Revision ID 版本ID*/
/---------------------------------------------------------------------------/
/ Function Configurations
/---------------------------------------------------------------------------/
#define _FS_READONLY 0
/* This option switches read-only configuration. (0:Read/Write or 1:Read-only)
/ Read-only configuration removes writing API functions, f_write(), f_sync(),
/ f_unlink(), f_mkdir(), f_chmod(), f_rename(), f_truncate(), f_getfree()
/ and optional writing functions as well. */
/*
此选项切换只读配置。(0:读/写或1:只读)
只读配置删除写的API函数,f_write(),f_sync(),
f_unlink(),f_mkdir(),f_chmod(),f_rename(),f_truncate(),f_getfree()
可选的写作功能以及。
*/
#define _FS_MINIMIZE 0
/* This option defines minimization level to remove some basic API functions.
/
/ 0: All basic functions are enabled.
/ 1: f_stat(), f_getfree(), f_unlink(), f_mkdir(), f_truncate() and f_rename()
/ are removed.
/ 2: f_opendir(), f_readdir() and f_closedir() are removed in addition to 1.
/ 3: f_lseek() function is removed in addition to 2. */
/*
此选项定义了删除一些基本的函数的最小化级别。
0:所有基本功能都启用。
1:f_stat(),f_getfree(),f_unlink(),f_mkdir(),f_truncate()和f_rename()
删除/删除。
2:f_opendir(),f_readdir()和f_closedir()除了1删除。
3:f_lseek()功能除了2删除。
*/
#define _USE_STRFUNC 1
/* This option switches string functions, f_gets(), f_putc(), f_puts() and
/ f_printf().
/
/ 0: Disable string functions.
/ 1: Enable without LF-CRLF conversion.
/ 2: Enable with LF-CRLF conversion. */
/*
这个选项开关的字符串函数,f_gets(),f_putc(),f_puts()和f_printf()。
0:禁用字符串函数。
1:使不lf-crlf转换。
2:使lf-crlf转换。
*/
#define _USE_FIND 0
/* This option switches filtered directory read functions, f_findfirst() and
/ f_findnext(). (0:Disable, 1:Enable 2:Enable with matching altname[] too) */
/*
这个选项开关过滤目录读取功能,f_findfirst()和f_findnext()。
(0:1:2:启用禁用,使匹配altname [ ]太)
*/
#define _USE_MKFS 1
/* This option switches f_mkfs() function. (0:Disable or 1:Enable) */
/*
这个选项开关f_mkfs(正点原子解释为格式化功能)功能。(0:禁用或1:启用)
*/
#define _USE_FASTSEEK 1<