Add VSCode ST-link debug config (#567)
This commit is contained in:
parent
6192775161
commit
dec4bab334
|
@ -40,7 +40,25 @@
|
||||||
"break main",
|
"break main",
|
||||||
"continue"
|
"continue"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
// TODO: find better way to get latest build filename
|
||||||
|
"executable": "./build/src/pinetime-app-1.3.0.out",
|
||||||
|
"name": "Debug OpenOCD ST-LINK pinetime-app-1.3.0.out",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"showDevDebugOutput": false,
|
||||||
|
"servertype": "openocd",
|
||||||
|
"runToMain": true,
|
||||||
|
// Only use armToolchainPath if your arm-none-eabi-gdb is not in your path (some GCC packages does not contain arm-none-eabi-gdb)
|
||||||
|
"armToolchainPath": "${workspaceRoot}/../gcc-arm-none-eabi-9-2020-q2-update/bin",
|
||||||
|
"svdFile": "${workspaceRoot}/nrf52.svd",
|
||||||
|
"configFiles": [
|
||||||
|
"interface/stlink.cfg",
|
||||||
|
"target/nrf52.cfg"
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue