Skip to content
Discussion options

You must be logged in to vote

I'm building frozen bytecode by placing my .py files in the modules directory.

This works, but it's kind of an implementation detail of the build system. i.e. these are the modules required for MicroPython to function. Your own additional modules should be added via a manifest -- see https://docs.micropython.org/en/latest/reference/manifest.html

I'm wondering if there an option to just update the frozen bytecode and rebuild the firmware for the esp32?

There's definitely a bug here with detecting frozen content changes in the modules directory. The ESP32 build is really complicated due to the way it uses CMake with the IDF, but we need to fix this.

In the meantime, the way to force it …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Tom-sog
Comment options

@puppet13th
Comment options

@Tom-sog
Comment options

Answer selected by Tom-sog
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants