Added RPi debug probe to launch config
This commit is contained in:
parent
2427937081
commit
8a34c3c3c8
33
.vscode/launch.json
vendored
33
.vscode/launch.json
vendored
@ -35,6 +35,39 @@
|
|||||||
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
// Work around for stopping at main on restart
|
// Work around for stopping at main on restart
|
||||||
"runToEntryPoint": "main"
|
"runToEntryPoint": "main"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Debug (RPi Debug Probe)",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"servertype": "openocd",
|
||||||
|
"gdbPath" : "${env:PICO_GDB}",
|
||||||
|
"device": "RP2040",
|
||||||
|
"openOCDLaunchCommands": [
|
||||||
|
"adapter speed 5000"
|
||||||
|
],
|
||||||
|
"configFiles": ["interface/cmsis-dap.cfg","target/rp2040.cfg"],
|
||||||
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
|
||||||
|
// Work around for stopping at main on restart
|
||||||
|
"runToEntryPoint": "main"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Start (RPi Debug Probe)",
|
||||||
|
"cwd": "${command:cmake.launchTargetDirectory}",
|
||||||
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"servertype": "openocd",
|
||||||
|
"gdbPath" : "${env:PICO_GDB}",
|
||||||
|
"device": "RP2040",
|
||||||
|
"openOCDLaunchCommands": [
|
||||||
|
"adapter speed 5000",
|
||||||
|
"program ${command:cmake.launchTargetFilename} verify reset exit"
|
||||||
|
],
|
||||||
|
"configFiles": ["interface/cmsis-dap.cfg","target/rp2040.cfg"],
|
||||||
|
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Debug (J-Link)",
|
"name": "Debug (J-Link)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user