-FatFs/Tiny-FatFs Module Source Files R0.07a (C)ChaN, 2009\r
-\r
-\r
-FILES\r
-\r
- ff.h Common include file for FatFs and application module.\r
- ff.c FatFs module.\r
- diskio.h Common include file for FatFs and disk I/O module.\r
- diskio.c Skeleton of low level disk I/O module.\r
- integer.h Alternative type definitions for integer variables.\r
- option Optional external functions.\r
-\r
- Low level disk I/O module is not included in this archive because the FatFs\r
- module is only a generic file system layer and not depend on any specific\r
- storage device. You have to provide a low level disk I/O module that written\r
- to control your storage device.\r
-\r
-\r
-\r
-AGREEMENTS\r
-\r
- FatFs module is an open source software to implement FAT file system to\r
- small embedded systems. This is a free software and is opened for education,\r
- research and commercial developments under license policy of following trems.\r
-\r
- Copyright (C) 2009, ChaN, all right reserved.\r
-\r
- * The FatFs module is a free software and there is NO WARRANTY.\r
- * No restriction on use. You can use, modify and redistribute it for\r
- personal, non-profit or commercial use UNDER YOUR RESPONSIBILITY.\r
- * Redistributions of source code must retain the above copyright notice.\r
-\r
-\r
-\r
-REVISION HISTORY\r
-\r
- Feb 26, 2006 R0.00 Prototype\r
-\r
- Apr 29, 2006 R0.01 First release.\r
-\r
- Jun 01, 2006 R0.02 Added FAT12.\r
- Removed unbuffered mode.\r
- Fixed a problem on small (<32M) patition.\r
-\r
- Jun 10, 2006 R0.02a Added a configuration option _FS_MINIMUM.\r
-\r
- Sep 22, 2006 R0.03 Added f_rename.\r
- Changed option _FS_MINIMUM to _FS_MINIMIZE.\r
-\r
- Dec 11, 2006 R0.03a Improved cluster scan algolithm to write files fast.\r
- Fixed f_mkdir creates incorrect directory on FAT32.\r
-\r
- Feb 04, 2007 R0.04 Supported multiple drive system. (FatFs)\r
- Changed some APIs for multiple drive system.\r
- Added f_mkfs. (FatFs)\r
- Added _USE_FAT32 option. (Tiny-FatFs)\r
-\r
- Apr 01, 2007 R0.04a Supported multiple partitions on a plysical drive. (FatFs)\r
- Fixed an endian sensitive code in f_mkfs. (FatFs)\r
- Added a capability of extending the file size to f_lseek.\r
- Added minimization level 3.\r
- Fixed a problem that can collapse a sector when recreate an\r
- existing file in any sub-directory at non FAT32 cfg. (Tiny-FatFs)\r
-\r
- May 05, 2007 R0.04b Added _USE_NTFLAG option.\r
- Added FSInfo support.\r
- Fixed some problems corresponds to FAT32. (Tiny-FatFs)\r
- Fixed DBCS name can result FR_INVALID_NAME.\r
- Fixed short seek (0 < ofs <= csize) collapses the file object.\r
-\r
- Aug 25, 2007 R0.05 Changed arguments of f_read, f_write.\r
- Changed arguments of f_mkfs. (FatFs)\r
- Fixed f_mkfs on FAT32 creates incorrect FSInfo. (FatFs)\r
- Fixed f_mkdir on FAT32 creates incorrect directory. (FatFs)\r
-\r
- Feb 03, 2008 R0.05a Added f_truncate().\r
- Added f_utime().\r
- Fixed off by one error at FAT sub-type determination.\r
- Fixed btr in f_read() can be mistruncated.\r
- Fixed cached sector is not flushed when create and close without write.\r
-\r
- Apr 01, 2008 R0.06 Added f_forward(). (Tiny-FatFs)\r
- Added string functions: fputc(), fputs(), fprintf() and fgets().\r
- Improved performance of f_lseek() on move to the same or following cluster.\r
-\r
- Apr 01, 2009, R0.07 Merged Tiny-FatFs as a buffer configuration option.\r
- Added long file name support.\r
- Added multiple code page support.\r
- Added re-entrancy for multitask operation.\r
- Added auto cluster size selection to f_mkfs().\r
- Added rewind option to f_readdir().\r
- Changed result code of critical errors.\r
- Renamed string functions to avoid name collision.\r
-\r
- Apr 14, 2009, R0.07a Separated out OS dependent code on reentrant cfg.\r
- Added multiple sector size support.\r
+FatFs/Tiny-FatFs Module Source Files R0.07a (C)ChaN, 2009
+
+
+FILES
+
+ ff.h Common include file for FatFs and application module.
+ ff.c FatFs module.
+ diskio.h Common include file for FatFs and disk I/O module.
+ diskio.c Skeleton of low level disk I/O module.
+ integer.h Alternative type definitions for integer variables.
+ option Optional external functions.
+
+ Low level disk I/O module is not included in this archive because the FatFs
+ module is only a generic file system layer and not depend on any specific
+ storage device. You have to provide a low level disk I/O module that written
+ to control your storage device.
+
+
+
+AGREEMENTS
+
+ FatFs module is an open source software to implement FAT file system to
+ small embedded systems. This is a free software and is opened for education,
+ research and commercial developments under license policy of following trems.
+
+ Copyright (C) 2009, ChaN, all right reserved.
+
+ * The FatFs module is a free software and there is NO WARRANTY.
+ * No restriction on use. You can use, modify and redistribute it for
+ personal, non-profit or commercial use UNDER YOUR RESPONSIBILITY.
+ * Redistributions of source code must retain the above copyright notice.
+
+
+
+REVISION HISTORY
+
+ Feb 26, 2006 R0.00 Prototype
+
+ Apr 29, 2006 R0.01 First release.
+
+ Jun 01, 2006 R0.02 Added FAT12.
+ Removed unbuffered mode.
+ Fixed a problem on small (<32M) patition.
+
+ Jun 10, 2006 R0.02a Added a configuration option _FS_MINIMUM.
+
+ Sep 22, 2006 R0.03 Added f_rename.
+ Changed option _FS_MINIMUM to _FS_MINIMIZE.
+
+ Dec 11, 2006 R0.03a Improved cluster scan algolithm to write files fast.
+ Fixed f_mkdir creates incorrect directory on FAT32.
+
+ Feb 04, 2007 R0.04 Supported multiple drive system. (FatFs)
+ Changed some APIs for multiple drive system.
+ Added f_mkfs. (FatFs)
+ Added _USE_FAT32 option. (Tiny-FatFs)
+
+ Apr 01, 2007 R0.04a Supported multiple partitions on a plysical drive. (FatFs)
+ Fixed an endian sensitive code in f_mkfs. (FatFs)
+ Added a capability of extending the file size to f_lseek.
+ Added minimization level 3.
+ Fixed a problem that can collapse a sector when recreate an
+ existing file in any sub-directory at non FAT32 cfg. (Tiny-FatFs)
+
+ May 05, 2007 R0.04b Added _USE_NTFLAG option.
+ Added FSInfo support.
+ Fixed some problems corresponds to FAT32. (Tiny-FatFs)
+ Fixed DBCS name can result FR_INVALID_NAME.
+ Fixed short seek (0 < ofs <= csize) collapses the file object.
+
+ Aug 25, 2007 R0.05 Changed arguments of f_read, f_write.
+ Changed arguments of f_mkfs. (FatFs)
+ Fixed f_mkfs on FAT32 creates incorrect FSInfo. (FatFs)
+ Fixed f_mkdir on FAT32 creates incorrect directory. (FatFs)
+
+ Feb 03, 2008 R0.05a Added f_truncate().
+ Added f_utime().
+ Fixed off by one error at FAT sub-type determination.
+ Fixed btr in f_read() can be mistruncated.
+ Fixed cached sector is not flushed when create and close without write.
+
+ Apr 01, 2008 R0.06 Added f_forward(). (Tiny-FatFs)
+ Added string functions: fputc(), fputs(), fprintf() and fgets().
+ Improved performance of f_lseek() on move to the same or following cluster.
+
+ Apr 01, 2009, R0.07 Merged Tiny-FatFs as a buffer configuration option.
+ Added long file name support.
+ Added multiple code page support.
+ Added re-entrancy for multitask operation.
+ Added auto cluster size selection to f_mkfs().
+ Added rewind option to f_readdir().
+ Changed result code of critical errors.
+ Renamed string functions to avoid name collision.
+
+ Apr 14, 2009, R0.07a Separated out OS dependent code on reentrant cfg.
+ Added multiple sector size support.
-"""\r
-To be used on windows platform only to generate BeRTOS .chm documentation.\r
-Requires doxygen.exe and hhc.exe to be in the system PATH.\r
-"""\r
-from __future__ import with_statement\r
-import os, sys\r
-\r
-def move(old_path, new_path):\r
- if os.path.exists(new_path):\r
- os.unlink(new_path)\r
- os.rename(old_path, new_path)\r
-\r
-\r
-if sys.platform != 'win32':\r
- print "This program can be run only on a Windows machine"\r
- sys.exit(-1)\r
-\r
-if len(sys.argv) < 2:\r
- print "Usage: " + sys.argv[0] + " [custom_doxyfile]"\r
- sys.exit(-1)\r
-\r
-DOC_PATH = 'doc\\offline-reference\\html\\'\r
-toc_modifier = r"doc\chm-toc-modifier.py"\r
-toc_file = DOC_PATH + r"index.hhc"\r
-bertos_toc = r"bertos-toc.hhc"\r
-\r
-\r
-if os.system("doxygen " + sys.argv[1]):\r
- print "doxygen error"\r
-if os.system(toc_modifier + " " + toc_file + " " + bertos_toc):\r
- print "toc-modifier error"\r
-move(bertos_toc, toc_file)\r
-\r
-# compile CHM\r
-os.system(r"hhc " + DOC_PATH + "index.hhp")\r
-\r
-chm_target = r"bertos\bertos-doc.chm"\r
-move(DOC_PATH + r"bertos-doc.chm", chm_target)\r
-\r
-\r
+"""
+To be used on windows platform only to generate BeRTOS .chm documentation.
+Requires doxygen.exe and hhc.exe to be in the system PATH.
+"""
+from __future__ import with_statement
+import os, sys
+
+def move(old_path, new_path):
+ if os.path.exists(new_path):
+ os.unlink(new_path)
+ os.rename(old_path, new_path)
+
+
+if sys.platform != 'win32':
+ print "This program can be run only on a Windows machine"
+ sys.exit(-1)
+
+if len(sys.argv) < 2:
+ print "Usage: " + sys.argv[0] + " [custom_doxyfile]"
+ sys.exit(-1)
+
+DOC_PATH = 'doc\\offline-reference\\html\\'
+toc_modifier = r"doc\chm-toc-modifier.py"
+toc_file = DOC_PATH + r"index.hhc"
+bertos_toc = r"bertos-toc.hhc"
+
+
+if os.system("doxygen " + sys.argv[1]):
+ print "doxygen error"
+if os.system(toc_modifier + " " + toc_file + " " + bertos_toc):
+ print "toc-modifier error"
+move(bertos_toc, toc_file)
+
+# compile CHM
+os.system(r"hhc " + DOC_PATH + "index.hhp")
+
+chm_target = r"bertos\bertos-doc.chm"
+move(DOC_PATH + r"bertos-doc.chm", chm_target)
+
+