← index #15955PR #8957
Related · high · value 4.293
QUERY · ISSUE

docs: mpremote run command

openby davefesopened 2024-10-02updated 2025-03-03
docstools

Documentation URL

https://docs.micropython.org/en/latest/reference/mpremote.html#mpremote-command-run

Description

If you have a main.py on the device and invoke mpremote run /home/davef/main.py then the main.py on the device runs. To work on /home/davef/main.py and run that you can not have a main.py on the device.

Code of Conduct

Yes, I agree

CANDIDATE · PULL REQUEST

docs: Add details about connect command

closedby mikeyavorskyopened 2022-07-25updated 2023-10-02
docs

It's not immediately obvious from the documentation that mpremote connect accepts commands to execute on the device.

This PR adds an example of mpremote connect with a command other than repl and updates the supported commands list in the mpremote.rst, mpremote/README.md and mpremote/main.py files.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied