Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode launch.json files #441

Open
robertblackwell opened this issue Nov 30, 2023 · 0 comments
Open

vscode launch.json files #441

robertblackwell opened this issue Nov 30, 2023 · 0 comments

Comments

@robertblackwell
Copy link

HI, Looking for help with vscode launch files in order use a pico debug probe (not a second pico).
I am working on a Ubuntu 22.04 host, have openocd setup and can use gdb-multiarch to debug a blink program on a pico.
When I try to use the launch files provided in pico-examples/ide/vscode vscode complains that:

        "type":"cortex-debug",

"please use node type instead", and for these :
"executable": "${command:cmake.launchTargetPath}",
"servertype": "external",
"gdbPath" : "gdb-multiarch",
"gdbTarget": "localhost:3333",
"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"
]

each of these lines have a key words that are "not allowed". I am obviously missing something that will turn out to be obvious. But I cannot see it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant