UV_K5_playground/.vscode/launch.json

48 wiersze
1.5 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"svdFile": "./.vscode/stm32g030.svd",
"cwd": "${workspaceRoot}",
"executable": "./build/src/rssi_printer/rssi_printer",
"name": "kwaczek DBG",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/cmsis-dap.cfg",
"./openocd_scripts/dp32g030.cfg" // "target/swm050.cfg", //
],
"searchDir": [
".",
"${workspaceRoot}",
"${workspaceRoot}/.vscode/",
],
"runToEntryPoint": "main",
"showDevDebugOutput": "both",
"preLaunchTask": "flash firmware"
},
{
"svdFile": "./.vscode/stm32g030.svd",
"cwd": "${workspaceRoot}",
"executable": "./build/src/rssi_printer/rssi_printer",
"name": "attach kwaczek",
"request": "attach",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"interface/cmsis-dap.cfg",
"./openocd_scripts/dp32g030.cfg" // "target/swm050.cfg", //
],
"openOCDLaunchCommands": [
"reset halt",
],
"searchDir": [
".",
"${workspaceRoot}",
"${workspaceRoot}/.vscode/",
],
"showDevDebugOutput": "both",
},
]
}