and I mount the VfsLfs:Code: Select all
import os, pyb os.umount('/flash') p1 = pyb.Flash(start=0, len=32*1024) p2 = pyb.Flash(start=32*1024) os.VfsFat.mkfs(p1) os.VfsLfs2.mkfs(p2) os.mount(p1, '/flash') os.mount(p2, '/data') os.chdir('/flash')
then I transfer to the partition of littlefs the main.py and boot.py files. But did't boot from it!:([/code]
import os, pyb
p2 = pyb.Flash(start=32*1024)
os.mount(p2, '/data')
[/code]
Im using pyb v1.1 with firmware MicroPython v1.14.
Is there any error in my steps or my understanding of littlefs was wrong?
any help?