Skip to content

Instantly share code, notes, and snippets.

@robin7331
robin7331 / mpremote-config.py
Created September 19, 2025 23:13
MicroPython mpremote Commands / Shortcuts
# Place this file here: ~./config/mpremote/config.py
# Debug: Will mount your local ./src folder to the MCU and run main
# Deploy: Will copy all your files to the MCU so it can run on its own
# Clear: Removes all files from the MCU
commands = {
"clear": ["rm", "-r", ":"],
"deploy": ["cp", "-r", "src/.", ":"],
"debug": ["mount", "./src", "exec", "import main"],
rm -rf output
mkdir output
docker run -w /kikit \
-v $(pwd):/kikit \
yaqwsx/kikit:nightly-m1 \
kikit panelize -p kikit-panel-preset.json my-project.kicad_pcb \
output/my-project-panel.kicad_pcb
docker run -w /kikit \