00readme.txt 6.5 KB

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