You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"cwd": "${workspaceRoot}",
|
|
"executable": "./build/${workspaceFolderBasename}.elf",
|
|
"name": "Debug_OpenOCD_STLInk",
|
|
"request": "launch",
|
|
"type": "cortex-debug",
|
|
"servertype": "openocd",
|
|
"configFiles": [
|
|
"interface/stlink.cfg",
|
|
"target/stm32f4x.cfg"
|
|
],
|
|
"searchDir": [],
|
|
"runToEntryPoint": "main",
|
|
"armToolchainPath": "C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/",
|
|
"showDevDebugOutput": "none",
|
|
"svdFile": "./svd/STM32F407.svd"
|
|
},
|
|
{
|
|
"name": "C/C++ Runner: Debug Session",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"externalConsole": true,
|
|
"cwd": "d:/Mycode/stm32Code/H2S",
|
|
"program": "d:/Mycode/stm32Code/H2S/build/Debug/outDebug",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |