Browse Source
Upon start-up, _boot module is executed from frozen files to do early initialization, e.g. create and mount the flash filesystem. Then "boot.py" is executed if it exists in the filesystem. Finally, "main.py" is executed if exists to allow start-on-boot user applications. This allows a user to make a custom boot file or startup application without recompiling the firmware, while letting to do early initialization in Python code. Based on RFC https://github.com/micropython/micropython/issues/1955.pull/1899/merge
Damien George
9 years ago
committed by
Paul Sokolovsky
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue