Skip to content
Discussion options

You must be logged in to vote

boot.py must be .py not .mpy. (Same goes for main.py too)

There should be very little code in boot.py, it should only be doing the bare minimum to set up filesystems so that main.py can be found, pre-compiling it will not make much difference.

main.py can then import pre-compiled files.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cluuu
Comment options

@jimmo
Comment options

Answer selected by cluuu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants