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
Uh oh!
There was an error while loading. Please reload this page.
-
What's the reason behind MicroPython skipping to load
boot.mpyandmain.mpyautomatically at start?.pyfiles are preferred over.mpyon regular imports, but the boot process seems to skip.mpycompletely.Beta Was this translation helpful? Give feedback.
All reactions