Skip to content

Instantly share code, notes, and snippets.

@smittytone
Last active Sep 2, 2021
Embed
What would you like to do?
Raspberry Pi Pico Visual Studio Code debugger launch.json file
{
"version": "0.2.0",
"configurations": [
{ "name": "Pico Debug",
"device": "RP2040",
"gdbPath": "arm-none-eabi-gdb",
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"/interface/picoprobe.cfg",
"/target/rp2040.cfg"
],
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"runToMain": true,
"postRestartCommands": [
"break main",
"continue"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment