Last active
March 26, 2022 18:30
-
-
Save smittytone/81bac3ab9a78e21bd46ed20b0ba17d72 to your computer and use it in GitHub Desktop.
Raspberry Pi Pico Visual Studio Code debugger launch.json file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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