.. _filex_demo: FileX demo ==================== 概述 ------ 该工程演示了filex的文件操作功能。本工程在ram中虚拟了一个磁盘,并通过filex接口对其进行打开、写入、读取、关闭等操作。 硬件设置 ------------ 无特殊设置 运行现象 ------------ 当工程正确运行后,串口终端会输出如下信息: .. code-block:: console ramdisk write read check ok for 1 times ramdisk write read check ok for 101 times ramdisk write read check ok for 201 times ramdisk write read check ok for 301 times ramdisk write read check ok for 401 times ramdisk write read check ok for 501 times ramdisk write read check ok for 601 times ramdisk write read check ok for 701 times