diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-29 17:17:22 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-11-06 12:16:00 +1100 |
commit | 4be316fb072ab7c2f28da815ead970ebf705c328 (patch) | |
tree | 94b28b05d713a6b89017f0b514195af64f2f77cb /docs/esp8266 | |
parent | d01ca7888b8eeeed026270742c40efe442cdd6ef (diff) |
esp32/moduos: Enable uos.VfsLfs2 for littlefs filesystems.
This commit adds support for littlefs (v2) on all esp32 boards.
The original FAT filesystem still works and any board with a preexisting
FAT filesystem will still work as normal. It's possible to switch to
littlefs by reformatting the block device using:
import uos, flashbdev
uos.VfsLfs2.mkfs(flashbdev.bdev)
Then when the board reboots (soft or hard) the new littlefs filesystem will
be mounted. It's possible to switch back to a FAT filesystem by formatting
with uos.VfsFat.mkfs(flashbdev.bdev).
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions