micropython/tools/mpremote/mpremote
Damien George 05342b013d tools/mpremote: Support OSError's on targets without errno.
Targets without the `errno` module enabled will not render `OSError`s
with the name of the error.  Instead they just print the numeric error
code.

Add support for such targets by explicitly recognising certain error codes.

Signed-off-by: Damien George <damien@micropython.org>
2025-07-08 21:52:56 +10:00
..
__init__.py tools/mpremote: Use hatch to build mpremote package. 2023-02-24 11:40:22 +11:00
__main__.py tools/mpremote: Allow running mpremote with python -m. 2022-03-30 15:29:26 +11:00
commands.py tools/mpremote: Add new 'fs tree' command. 2025-05-18 00:19:14 +10:00
console.py all: Fix cases of Python variable assigned but never used. 2023-05-02 16:36:05 +10:00
main.py tools/mpremote: Fix disconnect handling on Windows and Linux. 2025-07-04 15:51:47 +10:00
mip.py tools/mpremote: For mip install, use hash to skip files that exist. 2025-05-02 11:44:32 +10:00
mp_errno.py tools/mpremote: Support OSError's on targets without errno. 2025-07-08 21:52:56 +10:00
repl.py tools/mpremote: Fix disconnect handling on Windows and Linux. 2025-07-04 15:51:47 +10:00
romfs.py tools/mpremote: Add romfs query, build and deploy commands. 2025-03-06 12:52:35 +11:00
transport_serial.py tools/mpremote: Prevent deletion of /remote files via rm -r. 2025-04-26 16:07:44 +10:00
transport.py tools/mpremote: Support OSError's on targets without errno. 2025-07-08 21:52:56 +10:00