Micropython-main-boot

From pymate.io wiki
Revision as of 00:57, 28 April 2026 by Dodomi (talk | contribs) (Created page with "== Startup Sequence == When powered up, the PymateIO initialize the MicrPython virtual machine which executes the following steps. file:micropython-startup.png == boot.py script == Loading the {{fname|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 {{fname|boot.py}} script is to perform a quick hardware initialization at startup. {{rbox-orange|The {{fname|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Startup Sequence

When powered up, the PymateIO initialize the MicrPython virtual machine which executes the following steps.

Micropython-startup.png

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 boot.py script should be short and executes its content as fast as possible.

The MicroPython virtual machine will stays locked as long as the boot.py have not terminated it processing.

main.py