Commit 0ff7077
Document TaskManager.create_supervised_task and boot-time Ctrl-C handling
Accompanies MicroPythonOS/MicroPythonOS#234, which fixes the serial
console dying permanently after mpremote/raw-REPL connection attempts.
- TaskManager: document create_supervised_task(), including the
coroutine-factory requirement and when supervision stops, plus the
KeyboardInterrupt resilience in TaskManager.start().
- Boot sequence: explain that the interrupt character is disabled while
the OS boots, why connecting mid-boot used to corrupt the boot, and
what that means in practice (wait for "Starting asyncio REPL...";
use the reset button for a hung boot).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 41dda22 commit 0ff7077
2 files changed
Lines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
195 | 224 | | |
196 | 225 | | |
197 | 226 | | |
| |||
474 | 503 | | |
475 | 504 | | |
476 | 505 | | |
| 506 | + | |
477 | 507 | | |
478 | 508 | | |
479 | 509 | | |
480 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
481 | 515 | | |
482 | 516 | | |
483 | 517 | | |
| |||
0 commit comments