Micropython-main-boot
Startup Sequence
When powered up, the PymateIO initialize the MicrPython virtual machine which executes the following steps.
boot.py script
Loading the boot.py is the first operation performed by the virtual machine.
The virtual machine jump to the next step if the file is not available.
The role of the boot.py script is to perform a quick hardware initialization at startup.
The MicroPython virtual machine will stays locked as long as the boot.py have not terminated its processing.
Interacting with MicroPython is almost impossible during the processing of boot.py .
main.py script
The main.py script is the file containing the user program to execute at startup.
If the file is missing or script produce an error then the virtual machine jump to the next step (interactive REPL session).
REPL session
xxx
