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.
This commit is contained in:
Damien George 2020-03-27 15:04:23 +11:00
parent ad2b3185da
commit 312c699491

View File

@ -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(