Skip to content

Add serial terminal section to cli-collaborate.md #1000

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

Merged
merged 2 commits into from
Mar 8, 2019

Conversation

AnotherButler
Copy link
Contributor

Add section from legacy documentation.

Add section from legacy documentation.
@theotherjimmy
Copy link
Contributor

PR #1000 🎉

@@ -101,6 +101,35 @@ $ mbed export -i uvision -m K64F

Mbed CLI creates a `.uvprojx` file in the root project directory. You can open the project file with uVision.

#### Serial terminal

You can open a serial terminal to the COM port of a connected Mbed target (usually board) using the `mbed sterm` command. If no COM port is specified, Mbed CLI will attempt to detect the connected Mbed targets and their COM ports.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COM port is a windows-only term. They're called tty... on linux and OSX. Could we replace COM with serial?


There are various options to `mbed sterm`:

- `--port <COM port>` to specify system COM port to connect to.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COM -> serial. again, to remove a windows-only term


More shortcuts can be viewed within the serial terminal's help menu (Ctrl+h).

You can also add the `--sterm` option to `mbed compile -f` to compile a new program, flash the program/firmware image to the connected target and then open the serial terminal to its COM port:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COM -> serial

Replaces references to COM with serial, so the instructions don't relate only to Windows, as requested in the comments.
@AnotherButler AnotherButler merged commit f1cc2ad into development Mar 8, 2019
@AnotherButler AnotherButler deleted the AnotherButler-patch-5 branch March 8, 2019 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants