Recommend method for creating frozen modules to use with MicroPython? #16018
Replies: 2 comments
-
Freezing a module does mean compiling it into the micropython image (see https://docs.micropython.org/en/latest/reference/manifest.html). Perhaps, you are thinking of byte compiling your .py files into .mpy files (see https://docs.micropython.org/en/latest/reference/mpyfiles.html). Thanks to the work of Andrew and Damien you can now |
Beta Was this translation helpful? Give feedback.
-
Yes.... I was thinking of byte compiling in my original question. But I am just compile a new image in the end... been a while since I have, but should not be too sticky to refresh an old skill set. Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Recommend method for creating frozen modules to use with MicroPython? Been a while since I have done this, and I don't recall the explicit details, so trying to get back to this. In this case I want to add the uPing module I have to my ESP32 as efficiently as possible, short of merging said module into a custom MicroPython image.
Beta Was this translation helpful? Give feedback.
All reactions