没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > thinfat32 |
thinfat32
|
1 | 0 | 21 |
贡献者 | 讨论 | 代码提交 |
ThinFAT32ThinFAT32 is an implementation of the FAT32 filesystem specification specifically targeted at embedded systems. It is designed to have a low memory footprint, use very little RAM, but be as robust and feature-complete as more sophisticated or expensive implementations of the same spec.
FeaturesSmall Easy to setup and use (you need only supply functions to read and write blocks from your hardware) Written in ANSI-compliant C Supports both 8.3 and LFN (Long Filenames) Almost no dependency on any external C library. (Requires only string.h, which can be factored out very easily) Low RAM footprint (Works mostly like the C standard libs fopen() fread() fwrite() etc... Does not conflict with the standard C libs, if you happen to be using them Is ThinFAT32 Ready for My Application?Yes! ... er... well actually no. There are still some bugs, and a few features left, but all in all, it works pretty well. It's certainly ready to be tested, and for use in prototypes.
Getting Started - Testing on NIXGet the source from subversion. Make sure you've got gcc. The default make target builds main.c which is a simple test program. (Typically the last test I felt like doing)
$: makeThe default build of ThinFAT32 depends on a filesystem for testing. The make targets make create make mount and make unmount create, mount and unmount this filesystem respectively. The filesystem will be stored in the regular file test.fat32, and will be available through the directory fs when mounted.
Have a look at main.c to see how ThinFAT32 is used.