← index #15955PR #11659
Related · high · value 7.645
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

tools/mpremote: Add `delay` and `rtc` commands. Extend documentation.

mergedby jimmoopened 2023-05-30updated 2023-06-02
toolsseason-of-docs-2023

Minor mpremote updates:

  • Add delay command allowing a pause between commands.
  • Replace the setrtc "shortcut" command with a new rtc [--set] command which allows getting/setting the RTC (to the current local time).
  • Add a backwards compatible shortcut for setrtc.
  • Fix argument handling for shortcuts (to allow terminator).
  • Handle cp with no destination.

Extensive documentation update for mpremote:

  • Add a extra detail to each of the commands.
  • Add more about handling options and arguments.
  • Include shortcut commands that behave like real commands to the
    command list (e.g. bootloader, rtc).
  • Add extra information and reword to address common misconceptions, in
    particular how commands chain together.
  • Add additional examples showing some more interesting combinations.
  • Add descriptions to each of the examples.
  • Add pipx installation instructions.
  • Describe how user-configuration works.

This work was funded in combination through GitHub Sponsors and Google Season of Docs.

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