boot.mpy
and main.mpy
are not loaded
#15853
vshymanskyy
started this conversation in
General
Replies: 1 comment 4 replies
-
This is because the MicroPython main.c does these two things when powered up or reset:
These will effectively do: >>> execfile("boot.py")
>>> execfile("main.py") To use *.mpy we need to use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's the reason behind MicroPython skipping to load
boot.mpy
andmain.mpy
automatically at start?.py
files are preferred over.mpy
on regular imports, but the boot process seems to skip.mpy
completely.Beta Was this translation helpful? Give feedback.
All reactions