文件名称:project5
介绍说明--下载内容来自于网络,使用问题请自行百度
本例程移植了R0.09b版本的FatFS文件系统,采用SDIO接口的MicroSD卡作为存储介质。
FatFS文件系统的移植说明见: \User\FatFS\FatFS移植记录.txt
核心文件为:
b sdio_sd.c/.h : SDIO底层驱动代码
demo_sdio_fatfs.c/.h 演示FatFS API接口函数的使用方法的主程序。
配置GPIO的SD_Init()函数在执行 f_mount() 挂在文件系统时会被调用。因此,没有在 bsp.c 中添加SDIO的初始化。
注意:为了支持长文件名,FatFS必须包含 cc936.c 文件,其中 static const WCHAR uni2oem[] 常量数组
是一个GB2312码和UNICODE代码的转换表,会占用程序空间约170K字节。
如果不需要支持长文件名,则代码空间可节约 170K字节。
由于支持长文件名,代码大小超过了128K,因此不能在CpuRAM调试,除非去除长文件名的支持。
-The routine transplanted R0.09b version of FatFS file system, using SDIO interface MicroSD card as the storage medium. Migration Notes FatFS file system, see: \ User \ FatFS \ FatFS transplant record .txt core file: b sdio_sd.c/.h: SDIO underlying driver code demo_sdio_fatfs.c/.h use demo FatFS API interface functions of the main program . Configuration of GPIO SD_Init () function is called when the execution f_mount () hang in the file system. Therefore, no add SDIO initialization in bsp.c in. Note: In order to support long file names, FatFS cc936.c file must contain, among static const WCHAR uni2oem [] array constant is a GB2312 code and UNICODE code conversion table will occupy approximately 170K bytes of program space. If you do not support long file names, it can save 170K bytes of code space. With support for long file names, code size exceeds 128K, and therefore can not be debugged in CpuRAM, unless the removal of the long file name support.
FatFS文件系统的移植说明见: \User\FatFS\FatFS移植记录.txt
核心文件为:
b sdio_sd.c/.h : SDIO底层驱动代码
demo_sdio_fatfs.c/.h 演示FatFS API接口函数的使用方法的主程序。
配置GPIO的SD_Init()函数在执行 f_mount() 挂在文件系统时会被调用。因此,没有在 bsp.c 中添加SDIO的初始化。
注意:为了支持长文件名,FatFS必须包含 cc936.c 文件,其中 static const WCHAR uni2oem[] 常量数组
是一个GB2312码和UNICODE代码的转换表,会占用程序空间约170K字节。
如果不需要支持长文件名,则代码空间可节约 170K字节。
由于支持长文件名,代码大小超过了128K,因此不能在CpuRAM调试,除非去除长文件名的支持。
-The routine transplanted R0.09b version of FatFS file system, using SDIO interface MicroSD card as the storage medium. Migration Notes FatFS file system, see: \ User \ FatFS \ FatFS transplant record .txt core file: b sdio_sd.c/.h: SDIO underlying driver code demo_sdio_fatfs.c/.h use demo FatFS API interface functions of the main program . Configuration of GPIO SD_Init () function is called when the execution f_mount () hang in the file system. Therefore, no add SDIO initialization in bsp.c in. Note: In order to support long file names, FatFS cc936.c file must contain, among static const WCHAR uni2oem [] array constant is a GB2312 code and UNICODE code conversion table will occupy approximately 170K bytes of program space. If you do not support long file names, it can save 170K bytes of code space. With support for long file names, code size exceeds 128K, and therefore can not be debugged in CpuRAM, unless the removal of the long file name support.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
project.uvproj
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.