Files

50 lines
1.7 KiB
JSON

{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "ST-Link OpenOCD",
"type": "cortex-debug",
"cwd": "${workspaceFolder}",
"preLaunchTask": "ST-Link Debug-Flash",
"executable": "Build\\Debug\\STM32G030F6P6_Evaluation.elf",
"request": "launch",
"runToEntryPoint": "main",
"servertype": "openocd",
"configFiles": [
"Tools\\Specific_Config\\stlink-interface.cfg",
"Tools\\Specific_Config\\stm32g0x-target.cfg"
],
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
},
"postLaunchCommands": [
"-enable-pretty-printing"
]
},
{
"name": "CMSIS-DAP OpenOCD",
"type": "cortex-debug",
"cwd": "${workspaceFolder}",
"preLaunchTask": "CMSIS-DAP Debug-Flash",
"executable": "Build\\Debug\\STM32G030F6P6_Evaluation.elf",
"request": "launch",
"runToEntryPoint": "main",
"servertype": "openocd",
"configFiles": [
"Tools\\Specific_Config\\cmsis-dap-interface.cfg",
"Tools\\Specific_Config\\stm32g0x-target.cfg"
],
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
},
"postLaunchCommands": [
"-enable-pretty-printing"
],
}
]
}