-
- Downloads
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 /.
Showing
- components/badge23/espan.c 3 additions, 0 deletionscomponents/badge23/espan.c
- components/st3m/CMakeLists.txt 2 additions, 0 deletionscomponents/st3m/CMakeLists.txt
- components/st3m/st3m_fs.c 28 additions, 0 deletionscomponents/st3m/st3m_fs.c
- components/st3m/st3m_fs.h 9 additions, 0 deletionscomponents/st3m/st3m_fs.h
- main/include/mpconfigboard.h 1 addition, 14 deletionsmain/include/mpconfigboard.h
- micropython/extmod/vfs_posix.c 4 additions, 74 deletionsmicropython/extmod/vfs_posix.c
- micropython/extmod/vfs_posix_file.c 10 additions, 36 deletionsmicropython/extmod/vfs_posix_file.c
- micropython/ports/esp32/modules/_boot.py 2 additions, 8 deletionsmicropython/ports/esp32/modules/_boot.py
- usermodule/micropython.cmake 1 addition, 1 deletionusermodule/micropython.cmake
Loading
Please register or sign in to comment