Skip to content

Commit 73d79c3

Browse files
committed
readme updates
Signed-off-by: Jens Reinecke <[email protected]>
1 parent 80b08d4 commit 73d79c3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,22 @@ This section describes the contributed pseudo debugger types and their support t
4848
4949
#### CMSIS Debugger (pyOCD) - `cmsis-debug-pyocd`
5050
51-
TODO:
52-
- Assumed setup and where to find things.
53-
- Automatically filled in values on debug start.
51+
The `cmsis-debug-pyocd` debugger type allows to add default debug configurations to the workspace's `launch.json` file to debug via GDB and pyOCD. The actually used debugger type is `gdbtarget`.
52+
53+
In addition this extension contributes a debug configuration resolver which automatically fills the following gaps during debug launch:
54+
- If option `target`.`server` is set to `pyocd`, then it expands this option to the absolute path of the built-in pyOCD distribution.
55+
- Adds/extends the `target`.`serverParameters` list of `pyocd` command line arguments:
56+
- Prepends `gdbserver` if not present.
57+
- Appends `--port` and the corresponding `port` value if `target`.`port` is set.
58+
- Appends `--cbuild-run` and the corresponding `cbuildRunFile` path if `cmsis`.`cbuildRunFile` is set.
59+
60+
**Note**: The built-in version of pyOCD supports the command line option `--cbuild-run`. However, this is a new option which isn't contained yet in releases outside this extension.
5461
5562
#### CMSIS Debugger (J-Link) - `cmsis-debug-jlink`
5663
57-
TODO:
58-
- Assumed setup and where to find things.
59-
- Automatically filled in values on debug start.
64+
The `cmsis-debug-jlink` debugger type allows to add default debug configurations to the workspace's `launch.json` file to debug via GDB and the Segger J-Link GDB server. The actually used debugger type is `gdbtarget`.
65+
66+
**Note**: The generated default debug configuration uses `JLinkGDBServer` as `target`.`server` setting. The executable with this name has slightly differing behavior depending on your host platform. It launches a GUI-less server on Linux and MacOS. Whereas a GDB server with GUI is launched on Windows. Please change the value to `JLinkGDBServerCL` to suppress the GUI on Windows.
6067
6168
## Trademarks
6269
Visual Studio is a trademark of the Microsoft group of companies.

0 commit comments

Comments
 (0)