mpy-cross general
Posted: Mon Nov 30, 2020 5:16 pm
Hello there,
I didn't find any general discussion about this this tool/method so I took the bravery and opened one.
Currently I am running into all kind of memory allocation issues, and my idea is to use precompiling, like mpy-cross.
The issue is that I don't really find a good tutorial/step-by-step guide where I understand how can run .mpy files instead of .py files on my esp32.
My other question that I found some hints that micropython also has mpy-cross library. Is it possible that esp32 does the precompiling, and just write a the .mpy files to flash. (I use github and OTA library, and it would easier to maintain a .py repo than a .mpy repository)
Thanks!
I didn't find any general discussion about this this tool/method so I took the bravery and opened one.
Currently I am running into all kind of memory allocation issues, and my idea is to use precompiling, like mpy-cross.
The issue is that I don't really find a good tutorial/step-by-step guide where I understand how can run .mpy files instead of .py files on my esp32.
My other question that I found some hints that micropython also has mpy-cross library. Is it possible that esp32 does the precompiling, and just write a the .mpy files to flash. (I use github and OTA library, and it would easier to maintain a .py repo than a .mpy repository)
Thanks!