QUERY · ISSUE
docs: mpremote run command
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.
toolsseason-of-docs-2023
Minor mpremote updates:
- Add
delaycommand allowing a pause between commands. - Replace the
setrtc"shortcut" command with a newrtc [--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
cpwith 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.