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
Copy file name to clipboardExpand all lines: docs/debugging.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,6 @@ You can choose to develop locally or develop in [Codespaces](https://github.com/
53
53
1. Setup your router to forward outside connections to port 3333 to your local machine. This allows the Codespaces GDB service to communicate with the devkit via the local OpenOCD instance.
54
54
> Warning: This will expose the OpenOCD service to the public network which may result in an external compromise.
55
55
56
-
1. Install [Termite](https://www.compuphase.com/software_termite.htm) for serial port monitoring if desired.
57
56
58
57
## Start Debugging
59
58
@@ -69,9 +68,11 @@ You can choose to develop locally or develop in [Codespaces](https://github.com/
69
68
1. Open the VSCode workspace in the directory for the devkit you would like to debug. For example the STM32L4 devkit workspace is "STMicroelectronics/STM32L4_L4+/STM32L4plus.code-workspace".
70
69
71
70
1. Build the application by pressing "F7"
72
-
1. Choose the "ARM GCC Cortex" CMake kit when prompted
71
+
* Choose the "ARM GCC Cortex" CMake kit when prompted
73
72
74
73
1. Start the debugger by pressing "F5".
75
-
1. For debugging locally, use "localhost:3333" for the OpenOCD hostname.
76
-
1. For debugging from a local Docker image, use "host.docker.internal:3333".
77
-
1. For debugging via Codespaces, specify {PUBLIC_IP_ADDRESS}:3333
74
+
* For debugging locally, use "localhost:3333" for the OpenOCD hostname.
75
+
* For debugging from a local Docker image, use "host.docker.internal:3333".
76
+
* For debugging via Codespaces, specify {PUBLIC_IP_ADDRESS}:3333
77
+
78
+
1. Use a serial monitor such as [Termite](https://www.compuphase.com/software_termite.htm) for monitoring the device's output.
0 commit comments