added openocd confiig

This commit is contained in:
2024-02-05 14:21:55 +01:00
parent 4dfe9060fa
commit 160ba38027
2 changed files with 31 additions and 0 deletions

16
.vscode/launch.json vendored
View File

@@ -4,6 +4,22 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}", //or fixed file path: build/stm32h735g-dk-led.elf
"name": "Debug with OpenOCD",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": ["stm32h7x3i_eval.cfg"],
"searchDir": [],
"runToEntryPoint": "main",
"showDevDebugOutput": "both",
"svdFile": "STM32H723.svd", //Path to SVD file to see registers
"rtos" : "FreeRTOS"
},
{
"name": "Debug Microcontroller - ST-Link",
"cwd": "${workspaceFolder}",