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: _dev/How-to-debug.md
+77
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,83 @@ This [tutorial](https://visualgdb.com/tutorials/arduino/stm32/) shows how to dev
232
232
233
233
See the Visual Studio Code extension for Arduino [README.md](https://github.com/microsoft/vscode-arduino/blob/main/README.md).
234
234
235
+
# Visual Studio Code + STM32CubeCLT + `cortex-debug` extension
236
+
237
+
These settings were extracted by using the [new STM32 VS Code extension](https://marketplace.visualstudio.com/items?itemName=stmicroelectronics.stm32-vscode-extension)'s generated launch configuration. That extension currently only supports `CMake` projects, so using it for development isn't yet appropriate for all use cases (i.e. [STM32duino](https://github.com/stm32duino/Arduino_Core_STM32)).
238
+
239
+
## Prerequisites
240
+
241
+
1. Download and install the latest STM32CubeCLT installer from <https://www.st.com/en/development-tools/stm32cubeclt.html>
242
+
2. Restart Windows in order to reload your system environment variables.
243
+
244
+
On Linux, you might need to manually define the appropriate environment variable yourself, something like this, but making sure you have the correct installation path:
0 commit comments