Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pio-device: add page #5725

Merged
merged 2 commits into from
Apr 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 {{CR|LF|CRLF}}`
marchersimon marked this conversation as resolved.
Show resolved Hide resolved

- Go to the menu of the interactive device monitor:

`Ctrl + T`