update pico-examples/ide/vscode (#313)
Co-authored-by: martin <admin@crossleys.biz>
This commit is contained in:
28
ide/vscode/launch-probe-swd.json
Normal file
28
ide/vscode/launch-probe-swd.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Pico Debug",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"executable": "${command:cmake.launchTargetPath}",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"servertype": "openocd",
|
||||
// This may need to be "arm-none-eabi-gdb" for some previous builds
|
||||
"gdbPath" : "gdb-multiarch",
|
||||
"device": "RP2040",
|
||||
"configFiles": [
|
||||
// This may need to be "interface/picoprobe.cfg" for some previous builds
|
||||
"interface/cmsis-dap.cfg",
|
||||
"target/rp2040.cfg"
|
||||
],
|
||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||
"runToEntryPoint": "main",
|
||||
// Work around for stopping at main on restart
|
||||
"postRestartCommands": [
|
||||
"break main",
|
||||
"continue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user