1595 views|1 replies

1w

Posts

25

Resources
The OP
 

Add instructions about littlefs in MicroPython's uos documentation [Copy link]

 

Add instructions about littlefs to the uos documentation:

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

 
 

1w

Posts

25

Resources
2
 

It looks like littleFS will be enabled in micropython 2.0, which will hopefully solve the problem of pybflash disk data loss.

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list