pio-device: add page (#5725)

manned-org
marchersimon 2021-04-10 21:20:32 +02:00 committed by GitHub
parent 413ddfcca8
commit 00f46c3dc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# pio device
> Manage and monitor PlatformIO devices.
> More information: <https://docs.platformio.org/en/latest/core/userguide/device/>.
- List all available serial ports:
`pio device list`
- List all available logical devices:
`pio device list --logical`
- Start an interactive device monitor:
`pio device monitor`
- Start an interactive device monitor and listen to a specific port:
`pio device monitor --port {{/dev/ttyUSBX}}`
- Start an interactive device monitor and set a specific baud rate (defaults to 9600):
`pio device monitor --baud {{57600}}`
- Start an interactive device monitor and set a specific EOL character (defults to `CRLF`):
`pio device monitor --eol {{CRLF|CR|LF}}`
- Go to the menu of the interactive device monitor:
`Ctrl + T`