console: Make baud an optional parameter

Make the baud rate an optional parameter to the console.py tool.  When
not present, it will default to 250000.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2021-02-07 14:20:47 -05:00
parent 9d3a3f3f30
commit 3c6eb376ac
2 changed files with 14 additions and 4 deletions

View File

@@ -123,12 +123,15 @@ possible to manually send these MCU commands (functions marked with
the DECL_COMMAND() macro in the Klipper source code). To do so, run:
```
~/klippy-env/bin/python ./klippy/console.py /tmp/pseudoserial 250000
~/klippy-env/bin/python ./klippy/console.py /tmp/pseudoserial
```
See the "HELP" command within the tool for more information on its
functionality.
Some command-line options are available. For more information run:
`~/klippy-env/bin/python ./klippy/console.py --help`
Generating load graphs
======================