You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix pyocd launch and other small improvements (#23)
* refactor and logging
* prepend 'gdbserver' option for pyocd
* removed auto-filled 'target' and 'pack' options
* comment in cbuild run file support
* resolve args as late as possible
* remove reset before load
* change pyOCD to pyocd for Unix
* pyocd debug setup docs
---------
Signed-off-by: Jens Reinecke <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,22 @@ The following extensions are included in this extension pack:
20
20
-[Memory Inspector](https://marketplace.visualstudio.com/items?itemName=eclipse-cdt.memory-inspector), an Eclipse CDT Cloud extension that provides a powerful and configurable memory viewer that works with debug adapters.
21
21
-[Peripheral Inspector](https://marketplace.visualstudio.com/items?itemName=eclipse-cdt.peripheral-inspector), an Eclipse CDT Cloud extension that provides a CMSIS SVD viewer and works with debug adapters.
22
22
23
-
## Additional Functionality
23
+
## pyOCD Debug Setup
24
+
25
+
- Install `GCC compiler for ARM CPUs` with the `Arm Tools Environment Manager` to get access to a GDB (`arm-none-eabi-gdb`).
26
+
27
+
- (Temporary, should become obsolete with full `*.cbuild-run.yml` support in pyOCD)<br>
28
+
Make sure to set up your CMSIS Pack installation root folder by one of the following methods:
29
+
- Set your system environment variable `CMSIS_PACK_ROOT`.
30
+
- Add the following to your debug launch configuration
31
+
```
32
+
"environment": {
33
+
"CMSIS_PACK_ROOT": "</path/to/your/pack/cache>"
34
+
}
35
+
36
+
```
37
+
38
+
## Additional Extension Functionality
24
39
25
40
This extension contributes additional functionality to more seamlessly integrate the included extensions:
26
41
- The pseudo debugger types `cmsis-debug-pyocd` and `cmsis-debug-jlink`. These types allow a more seamless integration into the VS Code IDE. However, these are not full debug adapters but generate debug configurations of type `gdbtarget` which comes with the [CDT GDB Debug Adapter Extension](https://marketplace.visualstudio.com/items?itemName=eclipse-cdt.cdt-gdb-vscode).
0 commit comments