2023-05-30 18:57:16 +02:00

34 lines
1023 B
JSON

{
"configurations": [
{
"showDevDebugOutput": "parsed",
"cwd": "${workspaceRoot}",
"executable": "./build/ams-slave-23.elf",
"name": "Debug STM32",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"preLaunchTask": "Build STM",
"device": "stm32f302xc.s",
"configFiles": [
"openocd.cfg"
],
"svdFile": "STM32F102xx.svd"
},
{
"showDevDebugOutput": "parsed",
"cwd": "${workspaceRoot}",
"executable": "./build/ams-slave-23.elf",
"name": "Attach STM32",
"request": "attach",
"type": "cortex-debug",
"servertype": "openocd",
"preLaunchTask": "Build STM",
"device": "stm32f302xc.s",
"configFiles": [
"openocd.cfg"
],
"svdFile": "STM32F102xx.svd"
}
]
}