mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 12:55:47 +02:00
mpremote: add page (#15573)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
e158e0ed2f
commit
8cad42b980
1 changed files with 24 additions and 0 deletions
24
pages/common/mpremote.md
Normal file
24
pages/common/mpremote.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# mpremote
|
||||||
|
|
||||||
|
> Remotely control MicroPython devices.
|
||||||
|
> More information: <https://docs.micropython.org/en/latest/reference/mpremote.html>.
|
||||||
|
|
||||||
|
- List all connected MicroPython devices:
|
||||||
|
|
||||||
|
`mpremote connect list`
|
||||||
|
|
||||||
|
- Open an interactive REPL session with a connected device:
|
||||||
|
|
||||||
|
`mpremote connect {{device}}`
|
||||||
|
|
||||||
|
- Run a local script on a connected device:
|
||||||
|
|
||||||
|
`mpremote run {{path/to/script.py}}`
|
||||||
|
|
||||||
|
- Mount a local directory to the device:
|
||||||
|
|
||||||
|
`mpremote mount {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Install a mip package on the device:
|
||||||
|
|
||||||
|
`mpremote mip install {{package}}`
|
Loading…
Add table
Reference in a new issue