uos的文档中增加关于 littlefs 的说明

MicroPython、microbit、makecode等
最新动态
回复
头像
shaoziyang
帖子: 3919
注册时间: 2019年 10月 21日 13:48

uos的文档中增加关于 littlefs 的说明

#1

帖子 shaoziyang »

uos的文档中增加关于 littlefs 的说明:

https://github.com/micropython/micropyt ... ry/uos.rst
Create a filesystem object that uses the FAT filesystem format. Storage of the FAT filesystem is provided by block_dev. Objects created by this constructor can be mounted using :func:`mount`.

.. staticmethod:: mkfs(block_dev)

Build a FAT filesystem on *block_dev*.
Create a filesystem object that uses the littlefs v1 filesystem format. Storage of the littlefs filesystem is provided by block_dev, which must support the :ref:`extended interface <block-device-interface>`. Objects created by this constructor can be mounted using :func:`mount`.

See :ref:`filesystem` for more information.

.. staticmethod:: mkfs(block_dev)

Build a Lfs1 filesystem on *block_dev*.
Create a filesystem object that uses the littlefs v2 filesystem format. Storage of the littlefs filesystem is provided by block_dev, which must support the :ref:`extended interface <block-device-interface>`. Objects created by this constructor can be mounted using :func:`mount`.

See :ref:`filesystem` for more information.

.. staticmethod:: mkfs(block_dev)

Build a Lfs2 filesystem on *block_dev*. 

回复

  • 随机主题
    回复总数
    阅读次数
    最新文章