@@ -113,10 +113,9 @@ Behavior
113
113
- ``code.py `` (or ``main.py ``) is run after every reload until it
114
114
finishes or is interrupted. After it is done running, the vm and
115
115
hardware is reinitialized. **This means you cannot read state from **
116
- ``code.py `` **in the REPL anymore. ** CircuitPython's goal for this
116
+ ``code.py `` **in the REPL anymore, as the REPL is a fresh vm . ** CircuitPython's goal for this
117
117
change includes reducing confusion about pins and memory being used.
118
- - After ``code.py `` the REPL can be entered by pressing any key. It no
119
- longer shares state with ``code.py `` so it is a fresh vm.
118
+ - After the main code is finished the REPL can be entered by pressing any key.
120
119
- Autoreload state will be maintained across reload.
121
120
- Adds a safe mode that does not run user code after a hard crash or
122
121
brown out. The hope is that this will make it easier to fix code that
@@ -126,8 +125,7 @@ Behavior
126
125
- RGB status LED indicating CircuitPython state, and errors through a sequence of colored flashes.
127
126
- Re-runs ``code.py `` or other main file after file system writes over USB mass storage. (Disable with
128
127
``supervisor.disable_autoreload() ``)
129
- - Entering the REPL after the main code is finished requires a key press which enters the REPL and
130
- disables autoreload.
128
+ - Autoreload is disabled while the REPL is active.
131
129
- Main is one of these: ``code.txt ``, ``code.py ``, ``main.py ``,
132
130
``main.txt ``
133
131
- Boot is one of these: ``settings.txt ``, ``settings.py ``, ``boot.py ``,
0 commit comments