Files
micropython/tools
Damien George dea3035b88 tools/pyboard.py: Add write_timeout and catch errors in enter_raw_repl.
If the USB serial device locks up, then writes to that device can hang
forever.  That can make the test runner `tests/run-tests.py` lock up, among
other problems.

This commit introduces a 5 second write-timeout, and catches any OSError's
raised during `enter_raw_repl()`.  Now, if a USB serial device locks up,
`enter_raw_repl()` will eventually raise an exception.

Signed-off-by: Damien George <damien@micropython.org>
2025-06-02 17:02:59 +10:00
..
2025-05-16 14:02:39 +10:00
2024-03-07 16:25:17 +11:00
2025-04-24 21:42:21 +10:00
2025-02-25 13:02:49 +01:00