摘要
分析了在X86平台保护方式下使用GNU工具链实现μCOS+FatFS文件系统移植的技术要点,阐述了移植的关键步骤以及在X86平台移植的具体实现方法.内容包括FatFS文件系统简介、FatFS的配置、FatFS RAM盘的创建、FatFS磁盘接口函数(disk-initialize(),disk-status(),disk-read(),disk-write(),disk-ioctl())的设计与实现,以及在μCOS中调用FatFS的演示例程等.
The paper analyzes the main issues of porting μCOS + FatFS file system on X86 platform with GNU tool chain,and describes the key steps of porting and the implementing method on X86 platform.It consists of the brief description of FatFS file system,the configuration of FatFS,the creation of FatFS RAM disk,the design and implementation of the disk interface functions(disk-initialize(),disk-status(),disk-read(),disk-write(),disk-ioctl()) for FatFS,and a demonstration routine of invoking FatFS in μCOS,etc.
出处
《吉林师范大学学报(自然科学版)》
2011年第2期125-127,共3页
Journal of Jilin Normal University:Natural Science Edition