ThreadX RTOS在被微软收购后最近开源了,相关介绍在:https://docs.microsoft.com/en-us/azure/rtos/, 源码在github。
之前在使用threadX RTOS,但是没有用过它的文件系统fileX,从介绍可以看是FAT兼容(fat12,fat16,fat32,exfat),支持fail safe等。功能介绍:https://docs.microsoft.com/en-us/azure/rtos/filex/overview-filex
Azure RTOS FileX is a high-performance, file allocation table (FAT)-compatible file system that’s fully integrated with Azure RTOS ThreadX and available for all supported processors. Like Azure RTOS ThreadX, Azure RTOS FileX is designed to have a small footprint and high performance, making it ideal for today’s deeply embedded applications that require file management operations. FileX supports most physical media, including RAM, Azure RTOS USBX, SD CARD, and NAND/NOR flash memories via Azure RTOS LevelX.
- FAT 12/16/32 and exFAT support
- M

本文介绍了如何将Azure RTOS FileX文件系统移植到使用SD卡的嵌入式设备上。内容包括移植的基本步骤,如在fx_port.h中定义移植所需的宏和函数,初始化fileX,实现I/O驱动,特别是FX_DRIVER_BOOT_READ/FX_DRIVER_BOOT_WRITE,用于读写boot区域。此外,还详细阐述了如何确定FAT分区的DBR地址,并提供了物理sector转换逻辑sector的方法。
最低0.47元/天 解锁文章
878

被折叠的 条评论
为什么被折叠?



