Search found 6 matches

by lutecki
Wed Apr 21, 2021 8:08 am
Forum: General Discussion and Questions
Topic: MPY files not working (1.14)
Replies: 1
Views: 1034

MPY files not working (1.14)

Hi, My mpy compiled files are not working. I used micropython 1.14 on ESP32 and mpy-cross compiled on my MacBook Pro with macOS 11.1. mpy-cross --version MicroPython v1.14 on 2021-04-21; mpy-cross emitting mpy v5 ESP32 console: MicroPython v1.14 on 2021-02-02; ESP32 module with ESP32 Type "help()" f...
by lutecki
Tue Apr 20, 2021 8:33 am
Forum: General Discussion and Questions
Topic: Protecting files on littlefs
Replies: 3
Views: 2364

Re: Protecting files on littlefs

Hi Dave, Thank you for your reply. I forgot to mention that I'm using a ESP32-wroom module, so I don't have a problem with sdcard, mass storage etc ;-) My issue is the possibility of copying through like uPycraft, pyboard.py etc. A some semi-solution is to obfuscate the code via mpy-cross but I don'...
by lutecki
Mon Apr 19, 2021 10:00 pm
Forum: General Discussion and Questions
Topic: Protecting files on littlefs
Replies: 3
Views: 2364

Protecting files on littlefs

Hi,
Is there a way to protect littlefs files from USB access? I don't want to allow py and mpy files to be copied.
by lutecki
Fri Apr 16, 2021 9:06 am
Forum: ESP32 boards
Topic: Custom files in the self-compiled Micropython
Replies: 7
Views: 3416

Re: Custom files in the self-compiled Micropython

Hi guys and thanks for reply,
So if you thinking it's not simple, does esptool allow to upload files to littlefs? Then I would create a script to burn bootrom and copy the files in second step.
by lutecki
Fri Apr 16, 2021 7:33 am
Forum: ESP32 boards
Topic: Custom files in the self-compiled Micropython
Replies: 7
Views: 3416

Re: Custom files in the self-compiled Micropython

OK, so you thinking it's not very simple. So maybe does esptool allow to upload files to littlefs? Then I would write a script to burn bootrom and copy the files.
by lutecki
Wed Apr 14, 2021 9:12 pm
Forum: ESP32 boards
Topic: Custom files in the self-compiled Micropython
Replies: 7
Views: 3416

Custom files in the self-compiled Micropython

Hi,
I need to upload Micropython with program files to a 30 piece of ESP32. To speed things up I would compile my own MP version already with the program files and images and libraries. In which folder should I put the files to be included in the compiled bin file?