Skip to content

Commit

Permalink
pio-device: add page (#5725)
Browse files Browse the repository at this point in the history
  • Loading branch information
marchersimon authored Apr 10, 2021
1 parent 413ddfc commit 00f46c3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pages/common/pio-device.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 00f46c3

Please sign in to comment.