社区导航

 

搜索
查看: 270|回复: 1

[讨论] MicroPython的uos文档中增加关于 littlefs 的说明

[复制链接]

1万

TA的帖子

14

TA的资源

版主

Rank: 6Rank: 6

测评达人

发表于 2019-12-4 21:33 | 显示全部楼层 |阅读模式

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

 

 

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*. 

 



回复

使用道具 举报

1万

TA的帖子

14

TA的资源

版主

Rank: 6Rank: 6

测评达人

 楼主| 发表于 2019-12-4 21:38 | 显示全部楼层

看起来 micropython 2.0中就会启用 littleFS了,有希望解决 pybflash磁盘丢失数据的问题了。



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

关闭

站长推荐上一条 1/7 下一条

  • 论坛活动 E手掌握

    扫码关注
    EEWORLD 官方微信

  • EE福利  唾手可得

    扫码关注
    EE福利 唾手可得

Archiver|手机版|小黑屋|电子工程世界 ( 京ICP证 060456 )

GMT+8, 2020-5-30 16:42 , Processed in 0.113292 second(s), 20 queries , Gzip On, MemCache On.

快速回复 返回顶部 返回列表