1 |
606 |
jeremybenn |
FatFs Module Source Files R0.07e (C)ChaN, 2009
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
FILES
|
5 |
|
|
|
6 |
|
|
ffconf.h Configuration file for FatFs module.
|
7 |
|
|
ff.h Common include file for FatFs and application module.
|
8 |
|
|
ff.c FatFs module.
|
9 |
|
|
diskio.h Common include file for FatFs and disk I/O module.
|
10 |
|
|
diskio.c Skeleton of low level disk I/O module.
|
11 |
|
|
integer.h Alternative type definitions for integer variables.
|
12 |
|
|
option Optional external functions.
|
13 |
|
|
|
14 |
|
|
Low level disk I/O module is not included in this archive because the FatFs
|
15 |
|
|
module is only a generic file system layer and not depend on any specific
|
16 |
|
|
storage device. You have to provide a low level disk I/O module that written
|
17 |
|
|
to control your storage device.
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
AGREEMENTS
|
22 |
|
|
|
23 |
|
|
FatFs module is an open source software to implement FAT file system to
|
24 |
|
|
small embedded systems. This is a free software and is opened for education,
|
25 |
|
|
research and commercial developments under license policy of following trems.
|
26 |
|
|
|
27 |
|
|
Copyright (C) 2009, ChaN, all right reserved.
|
28 |
|
|
|
29 |
|
|
* The FatFs module is a free software and there is NO WARRANTY.
|
30 |
|
|
* No restriction on use. You can use, modify and redistribute it for
|
31 |
|
|
personal, non-profit or commercial product UNDER YOUR RESPONSIBILITY.
|
32 |
|
|
* Redistributions of source code must retain the above copyright notice.
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
REVISION HISTORY
|
37 |
|
|
|
38 |
|
|
Feb 26, 2006 R0.00 Prototype
|
39 |
|
|
|
40 |
|
|
Apr 29, 2006 R0.01 First release.
|
41 |
|
|
|
42 |
|
|
Jun 01, 2006 R0.02 Added FAT12.
|
43 |
|
|
Removed unbuffered mode.
|
44 |
|
|
Fixed a problem on small (<32M) patition.
|
45 |
|
|
|
46 |
|
|
Jun 10, 2006 R0.02a Added a configuration option _FS_MINIMUM.
|
47 |
|
|
|
48 |
|
|
Sep 22, 2006 R0.03 Added f_rename.
|
49 |
|
|
Changed option _FS_MINIMUM to _FS_MINIMIZE.
|
50 |
|
|
|
51 |
|
|
Dec 11, 2006 R0.03a Improved cluster scan algolithm to write files fast.
|
52 |
|
|
Fixed f_mkdir creates incorrect directory on FAT32.
|
53 |
|
|
|
54 |
|
|
Feb 04, 2007 R0.04 Supported multiple drive system. (FatFs)
|
55 |
|
|
Changed some APIs for multiple drive system.
|
56 |
|
|
Added f_mkfs. (FatFs)
|
57 |
|
|
Added _USE_FAT32 option. (Tiny-FatFs)
|
58 |
|
|
|
59 |
|
|
Apr 01, 2007 R0.04a Supported multiple partitions on a plysical drive. (FatFs)
|
60 |
|
|
Fixed an endian sensitive code in f_mkfs. (FatFs)
|
61 |
|
|
Added a capability of extending the file size to f_lseek.
|
62 |
|
|
Added minimization level 3.
|
63 |
|
|
Fixed a problem that can collapse a sector when recreate an
|
64 |
|
|
existing file in any sub-directory at non FAT32 cfg. (Tiny-FatFs)
|
65 |
|
|
|
66 |
|
|
May 05, 2007 R0.04b Added _USE_NTFLAG option.
|
67 |
|
|
Added FSInfo support.
|
68 |
|
|
Fixed some problems corresponds to FAT32. (Tiny-FatFs)
|
69 |
|
|
Fixed DBCS name can result FR_INVALID_NAME.
|
70 |
|
|
Fixed short seek (0 < ofs <= csize) collapses the file object.
|
71 |
|
|
|
72 |
|
|
Aug 25, 2007 R0.05 Changed arguments of f_read, f_write.
|
73 |
|
|
Changed arguments of f_mkfs. (FatFs)
|
74 |
|
|
Fixed f_mkfs on FAT32 creates incorrect FSInfo. (FatFs)
|
75 |
|
|
Fixed f_mkdir on FAT32 creates incorrect directory. (FatFs)
|
76 |
|
|
|
77 |
|
|
Feb 03, 2008 R0.05a Added f_truncate().
|
78 |
|
|
Added f_utime().
|
79 |
|
|
Fixed off by one error at FAT sub-type determination.
|
80 |
|
|
Fixed btr in f_read() can be mistruncated.
|
81 |
|
|
Fixed cached sector is not flushed when create and close without write.
|
82 |
|
|
|
83 |
|
|
Apr 01, 2008 R0.06 Added f_forward(). (Tiny-FatFs)
|
84 |
|
|
Added string functions: fputc(), fputs(), fprintf() and fgets().
|
85 |
|
|
Improved performance of f_lseek() on move to the same or following cluster.
|
86 |
|
|
|
87 |
|
|
Apr 01, 2009, R0.07 Merged Tiny-FatFs as a buffer configuration option.
|
88 |
|
|
Added long file name support.
|
89 |
|
|
Added multiple code page support.
|
90 |
|
|
Added re-entrancy for multitask operation.
|
91 |
|
|
Added auto cluster size selection to f_mkfs().
|
92 |
|
|
Added rewind option to f_readdir().
|
93 |
|
|
Changed result code of critical errors.
|
94 |
|
|
Renamed string functions to avoid name collision.
|
95 |
|
|
|
96 |
|
|
Apr 14, 2009, R0.07a Separated out OS dependent code on reentrant cfg.
|
97 |
|
|
Added multiple sector size support.
|
98 |
|
|
|
99 |
|
|
Jun 21, 2009, R0.07c Fixed f_unlink() may return FR_OK on error.
|
100 |
|
|
Fixed wrong cache control in f_lseek().
|
101 |
|
|
Added relative path feature.
|
102 |
|
|
Added f_chdir().
|
103 |
|
|
Added f_chdrive().
|
104 |
|
|
Added proper case conversion for extended characters.
|
105 |
|
|
|
106 |
|
|
Nov 03,'2009 R0.07e Separated out configuration options from ff.h to ffconf.h.
|
107 |
|
|
Added a configuration option, _LFN_UNICODE.
|
108 |
|
|
Fixed f_unlink() fails to remove a sub-dir on _FS_RPATH.
|
109 |
|
|
Fixed name matching error on the 13 char boundary.
|
110 |
|
|
Changed f_readdir() to return the SFN with always upper case on non-LFN cfg.
|