Skip to content

Commit 428d10d

Browse files
author
Donatien Garnier
authored
Merge pull request #1384 from rwalton-arm/dev/rwalton-arm/sterm
mbed-cli-2: Add --sterm docs
2 parents 15044ef + 20ef83d commit 428d10d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/tools/mbed_cli_2/use.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,16 @@ You can flash the built program to the connected target by adding the -f/--flash
202202
mbed-tools compile -f
203203
```
204204
205+
## Opening a serial terminal
206+
207+
You can open a serial terminal to the connected target by adding the `--sterm` argument to the compile command:
208+
209+
```
210+
mbed-tools compile -m K64F -t GCC_ARM --sterm --baudrate 9600
211+
```
212+
213+
When the terminal is running you can enter CTRL+H to show the help menu.
214+
205215
## Logging
206216
207217
To specify the log level, use the verbose logging option (`-v`) before the first argument:

0 commit comments

Comments
 (0)