-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlaunch.json
More file actions
29 lines (29 loc) · 1.07 KB
/
launch.json
File metadata and controls
29 lines (29 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"version": "0.2.0",
"configurations": [
{
"name": "Pico Debug",
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"serverpath": "/home/alejandro/pico/openocd_pico/src/openocd",
// This may need to be arm-none-eabi-gdb depending on your system
"gdbPath" : "arm-none-eabi-gdb",
"device": "Pico2040",
"configFiles": [
"/home/alejandro/pico/openocd_pico/tcl/interface/picoprobe.cfg",
"/home/alejandro/pico/openocd_pico/tcl/target/rp2040.cfg"
],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"runToMain": true,
"searchDir": ["/home/alejandro/pico/openocd/tcl"],
// Work around for stopping at main on restart
"postRestartCommands": [
"break main",
"continue"
]
}
]
}