diff options
| author | Damien George | 2020-03-27 15:04:23 +1100 |
|---|---|---|
| committer | Damien George | 2020-04-04 17:03:30 +1100 |
| commit | 312c699491830daacd33f032a6d6fc6cc6ff0c96 (patch) | |
| tree | a9fe313f7c77d3f0341c2ed310e814fbdd86b76c | |
| parent | ad2b3185da4c45b3ecc52f0d82fcfaafa0c3a131 (diff) | |
esp32: Change from FAT to littlefs v2 as default filesystem.
This commit changes the default filesystem type for esp32 to littlefs v2.
This port already enables both VfsFat and VfsLfs2, so either can be used
for the filesystem, and existing systems that use FAT will still work.
| -rw-r--r-- | ports/esp32/modules/inisetup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp32/modules/inisetup.py b/ports/esp32/modules/inisetup.py index cb03fd70f..9995d6bc0 100644 --- a/ports/esp32/modules/inisetup.py +++ b/ports/esp32/modules/inisetup.py @@ -33,8 +33,8 @@ by firmware programming). def setup(): check_bootsec() print("Performing initial setup") - uos.VfsFat.mkfs(bdev) - vfs = uos.VfsFat(bdev) + uos.VfsLfs2.mkfs(bdev) + vfs = uos.VfsLfs2(bdev) uos.mount(vfs, "/") with open("boot.py", "w") as f: f.write( |
