Skip to content
Snippets Groups Projects
Commit ccec773a authored by q3k's avatar q3k
Browse files

micropython: use ESP-IDF VFS layer for MPy VFS

Previously MicroPython would mount LittleFS directly from the partition
by itself, using its own VFS stack.

This reconfigured the VFS layer in MicroPython to use POSIX
open/read/write/etc calls, which are backed by ESP-IDF. Now, instead of
managing (possibly multuple) block devices at different mountpoints,
MicroPython simply passes through all VFS access to the ESP-IDF VFS.

Then, we make the ESP-IDF VFS mount a wear-leveled FAT (backed by the
same partition which previously held LittleFS) onto /.
parent c27dfef0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment