added openocd confiig
This commit is contained in:
16
.vscode/launch.json
vendored
16
.vscode/launch.json
vendored
@@ -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}",
|
||||
|
||||
Reference in New Issue
Block a user