Default runner support for rpi_pico2 (OpeOCD) is missing/incomplete. #88333
Labels
area: Documentation
bug
The issue is a bug, or the PR is fixing a bug
platform: Raspberry Pi Pico
Raspberry Pi Pico (RPi Pico)
priority: low
Low impact/importance bug
The Programming and Debugging section of the
rpi_pico2
support page states that a user should be able to use OpenOcd as the default runner (e.g.west flash
) in conjunction with the Raspberry Pi Debug Probe — however, that is not the case.Steps to Reproduce
Here are the steps I followed, and the resulting error:
west flash
.After quite a bit of digging around, I was able to find Raspberry Pi's OpenOCD fork, and I copied the missing config, rp2350.cfg, from that repo and placed it in the appropriate place in my current OpenOCD install. Though I got further, I still was unable to build as I received this error:
Expected Behavior
west flash
Closing Thoughts
Seeing as the board.cmake calls for (
rp2350.cfg
) in the OpenOCD arguments you'd expect it to be in the OpenOCD code-base already as no other requirements/documentation says otherwise. I'm not sure if this is an oversight where you should have mentioned grabbing the RPI OpenOCD fork, or if it worked at one time and has been pulled from the OpenOCD repos, but either way the documentation seems to be lacking.The text was updated successfully, but these errors were encountered: