Tooling

CLI: mpremote

Provides an integrated set of utilities to remotely interact with, manage the filesystem on, and automate a MicroPython device over a serial connection. Install it with:

pip install --user mpremote
Command Purpose
mpremote connect list List devices
mpremote connect <device> Connect to a device (auto is an option too)
mpremote disconnect Disconnect from a device
mpremote soft-reset Clear out the Python heap and restart the interpreter.
mpremote repl Enter the REPL on the connected device

You can also use the package manager in case your board doesn't have internet access:

mpremote mip install <packages...>

Or even mount the device filesystem into a folder:

mpremote mount [options] <local-dir>

MicroPython

<

21

>