FAL库是 RT-Thread 开发的一个库,组件库链接:https://github.com/RT-Thread-packages/fal
使用实例:
const struct fal_partition * dl_part = RT_NULL; dl_part = fal_partition_find("download"); fal_partition_erase(dl_part, 0, 200000); //擦除 fal_partition_write(dl_part, total_length, buffer_read, length); //写