Search found 3 matches

by kalbani
Sun Jun 13, 2021 7:22 am
Forum: General Discussion and Questions
Topic: Error in booting from hybrid filesystem (FAT,Littlefs2)
Replies: 4
Views: 2235

Re: Error in booting from hybrid filesystem (FAT,Littlefs2)

thanks for you replay Roberthh :D , I understand your idea. but is there a way to boot and run the main from littlefs in hybrid filesystem?
by kalbani
Sun Jun 06, 2021 5:50 am
Forum: General Discussion and Questions
Topic: Error in booting from hybrid filesystem (FAT,Littlefs2)
Replies: 4
Views: 2235

Re: Error in booting from hybrid filesystem (FAT,Littlefs2)

smurf wrote:
Wed Jun 02, 2021 1:42 pm
Why should micropython boot from the littlefs volume? It looks at the partition, sees that it's FAT, mounts that and is happy.
I dont want the end user to see or copy my code in the pyb , thats why I need to boot from the littlefs volume. :)
by kalbani
Tue Jun 01, 2021 5:56 am
Forum: General Discussion and Questions
Topic: Error in booting from hybrid filesystem (FAT,Littlefs2)
Replies: 4
Views: 2235

Error in booting from hybrid filesystem (FAT,Littlefs2)

I have been working with micropython for awhile. my project now is to run the main without user can see the source code when mounting the pyb over USB. so I decide to use littlefs2 using this code: import os, pyb os.umount('/flash') p1 = pyb.Flash(start=0, len=32*1024) p2 = pyb.Flash(start=32*1024) ...