FatFs/Tiny-FatFs Module Source Files R0.06 (C)ChaN, 2008
FILES
ff.h Common include file for FatFs and application module.
ff.c FatFs module.
tff.h Common include file for Tiny-FatFs and application module.
tff.c Tiny-FatFs module.
diskio.h Common include file for (Tiny-)FatFs and disk I/O module.
diskio.c Skeleton of low level disk I/O module.
integer.h Alternative type definitions for integer variables.
Low level disk I/O module is not included in this archive because the
FatFs/Tiny-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.
CONFIGURATION OPTIONS
There are several configuration options for various envilonment and
requirement. The configuration options are defined in header files, ff.h
and tff.h.
_MCU_ENDIAN
This is the most impotant option that depends on the processor architecture.
The value 2 is compatible with all MCUs. It forces FatFs to access FAT
structures in byte-by-byte. When the target device corresponds to either or
both of following cases, it must always be set 2.
- Muti-byte integers (short, long) are stored in Big-Endian.
- Address miss-aligned memory access results in an incorrect behavior.
If not the case, setting 1 is recommended rather than 2 for good code
efficiency. The initial value is 0. (Must set 1 or 2 properly)
_FS_READONLY
When application program does not require write functions, _FS_READONLY can
be set to 1 to eliminate writing code to reduce the module size. This
setting should be reflected to configurations of low level disk I/O module
if available. The initial value is 0. (Read and Write)
_FS_MINIMIZE
When application program requires only file read/write function and nothing
else, _FS_MINIMIZE can be changed to eliminate some functions to reduce the
module size. The initial value is 0. (Full function)
_USE_STRFUNC
When _USE_STRFUNC is set to 1, the string functions, fputc, fputs, fprintf
and fgets are enabled. The initial value is 0. (String functions are not
available)
_DRIVES
Number of drives to be used. This option is not available on Tiny-FatFs.
The initial value is 2.
_FAT32
When _FAT32 is set to 1, the FAT32 support is added with an additional
code size. This option is for only Tiny-FatFs. FatFs always supports all
FAT sub-types. The initial value is 0. (No FAT32 support)
_USE_FSINFO
When _USE_FSINFO is set to 1, FSInfo is used for FAT32 volume. The initial
value is 0. (FSInfo is not used)
_USE_SJIS
When _USE_SJIS is set to 1, Shift_JIS code set can be used as a file name,
otherwire second byte of double-byte characters will be collapted. The
initial value is 1.
_USE_NTFLAG
When _USE_NTFLAG is set to 1, upper/lower case of the file/dir name is
preserved. Note that the files are always accessed in case insensitive.
The initial value is 1.
_USE_MKFS
When _USE_MKFS is set to 1 and _FS_READONLY is set to 0, f_mkfs function
is enabled. This is for only FatFs module and not supported on Tiny-FatFs.
The initial value is 0. (f_mkfs is not available)
Following table shows which function is removed by configuration options.
_FS_MINIMIZE _FS_READONLY _USE_STRFUNC _USE_MKFS _USE_FORWARD
(1) (2) (3) (1) (0) (0) (0)
f_mount
f_open
f_close
f_read
f_write x
f_sync x
f_lseek x
f_opendir x x
f_readdir x x
f_stat x x x
f_getfree x x x x
f_truncate x x x x
f_unlink x x x x
f_mkdir x x x x
f_chmod x x x x
f_utime x x x x
f_rename x x x x
f_mkfs x x
f_forward x
fputc x x
fputs x x
fprintf x x
fgets x
AGREEMENTS
The FatFs/Tiny-FatFs module is a free software and there is no warranty.
The FatFs/Tiny-FatFs module is opened for education, reserch and development.
There is no restriction on use. You can use it for personal, non-profit or
commercial use under your responsibility.
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 writ
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
STM32 fatfs移植 (251个子文件)
printp.__i 179B
ff.__i 169B
stm32f10x_it.c.bak 29KB
main.c.bak 11KB
SD_FAT_Opt.Bak 5KB
SD_FAT_Uv2.Bak 4KB
Project.cspy.bat 2KB
stm32f10x_tim.c 128KB
ff.c 65KB
stm32f10x_adc.c 57KB
tff.c 57KB
stm32f10x_i2c.c 46KB
stm32f10x_rcc.c 43KB
stm32f10x_usart.c 42KB
stm32f10x_fsmc.c 41KB
stm32f10x_sdio.c 39KB
stm32f10x_spi.c 34KB
stm32f10x_dma.c 33KB
stm32f10x_flash.c 32KB
stm32f10x_can.c 31KB
stm32f10x_it.c 29KB
stm32f10x_nvic.c 28KB
SPI_SD_driver.c 25KB
stm32f10x_gpio.c 22KB
stm32f10x_dac.c 17KB
stm32f10x_rtc.c 12KB
stm32f10x_pwr.c 11KB
stm32f10x_bkp.c 11KB
USART_printp.c 10KB
RTC_Time.c 9KB
stm32f10x_lib.c 9KB
stm32f10x_exti.c 9KB
stm32f10x_wwdg.c 8KB
Init.c 7KB
stm32f10x_systick.c 7KB
stm32f10x_iwdg.c 6KB
diskio.c 6KB
stm32f10x_vector.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_crc.c 5KB
main.c 4KB
spi_sd_driver.crf 165KB
usart_printp.crf 161KB
diskio.crf 161KB
printp.crf 161KB
main.crf 160KB
stm32f10x_it.crf 147KB
rtc_time.crf 147KB
init.crf 145KB
stm32f10x_lib.crf 144KB
stm32f10x_tim.crf 74KB
stm32f10x_adc.crf 49KB
stm32f10x_can.crf 48KB
stm32f10x_fsmc.crf 47KB
stm32f10x_i2c.crf 47KB
stm32f10x_sdio.crf 45KB
stm32f10x_usart.crf 45KB
stm32f10x_spi.crf 44KB
stm32f10x_dma.crf 42KB
stm32f10x_gpio.crf 42KB
stm32f10x_rcc.crf 40KB
stm32f10x_dac.crf 39KB
stm32f10x_flash.crf 38KB
stm32f10x_bkp.crf 37KB
stm32f10x_nvic.crf 36KB
stm32f10x_pwr.crf 36KB
stm32f10x_wwdg.crf 34KB
stm32f10x_exti.crf 28KB
stm32f10x_rtc.crf 28KB
ff.crf 27KB
stm32f10x_systick.crf 26KB
stm32f10x_iwdg.crf 26KB
stm32f10x_dbgmcu.crf 26KB
stm32f10x_crc.crf 26KB
tff.crf 22KB
spi_sd_driver.d 2KB
printp.d 2KB
usart_printp.d 2KB
diskio.d 2KB
main.d 2KB
stm32f10x_it.d 2KB
stm32f10x_lib.d 2KB
rtc_time.d 2KB
init.d 2KB
stm32f10x_usart.d 485B
stm32f10x_gpio.d 476B
stm32f10x_fsmc.d 476B
stm32f10x_sdio.d 476B
stm32f10x_wwdg.d 476B
stm32f10x_adc.d 467B
stm32f10x_pwr.d 467B
stm32f10x_spi.d 467B
stm32f10x_i2c.d 467B
stm32f10x_tim.d 467B
stm32f10x_dac.d 467B
stm32f10x_can.d 467B
stm32f10x_bkp.d 467B
stm32f10x_dma.d 467B
stm32f10x_systick.d 430B
stm32f10x_dbgmcu.d 422B
共 251 条
- 1
- 2
- 3
xgzhangtao2006
- 粉丝: 0
- 资源: 24
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 全卷积网络基于voc2012数据集简单pytorch实现
- pycharm的一些介绍-用于更好的学习python
- 基于C++的程序设计大赛天梯赛L2答案(天梯赛)
- 基于python实现的三次样条插值和均值插值法实现
- Python语言教程2-python批量图片大小处理-多文件夹
- Python语言教程1-python批量图片重命名,将后缀某几个不想要的字去除
- Space Combat Kit 太空战斗套件Unity游戏开发插件资源unitypackage C#
- Universal Device Preview 通用设备预览Unity游戏开发插件资源unitypackage
- Paladin Anim Set 圣骑士动画集Unity游戏动作动画插件资源unitypackage
- 计算机财务管理期末考报表部分题目及答案.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页