-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add support for Picoprobe #14
Comments
+1 for this. Sadly the RaspberryPi OpenOCD version (https://github.com/raspberrypi/openocd/) seems very fragemented as of now. Looking at the branch I've opened raspberrypi/openocd#41 as a question (and possible fix) for that. Once we have a better OpenOCD version, then this package platform-raspberrypi/platform.json Lines 45 to 50 in 3c6cc84
can get an update and the needed Python platform.py / main.py code can be added to allow running OpenOCD with the If someone wanted to work with it right-right now one could also use debug_server and related commands to point to a custom OpenOCD version (compiled from the picoprobe branch) with the appropriate flags, this would very likely work, given that the OpenOCD version in that branch is functional with respect to the picoprobe. |
I managed to get this working on my own using a custom platform fork and with OpenOCD compiled from the picoprobe branch. See the second environment in my https://github.com/maxgerhardt/pio-pico-core-earlephilhower-test project. Only works on Windows as of now because of a precompiled OpenOCD version with Picoprobe support. Together with the other improvements in that platform fork (Earle Philhower's Pico core support) I'm planning to PR it back soon. |
Since the file is in my repo here, can you check whether it exists in |
now it works... Thx! |
@maxgerhardt looks like they've combined the two versions in the current rp2040 branch, since there's both What would be the next step to getting this implemented? I think it might be to cut a new release onto https://registry.platformio.org/tools/platformio/tool-openocd-raspberrypi, but I'm not sure what needs to be done for that to happen. I'd be happy to help out if someone would point me in the right direction/do the stuff I don't have permissions for. |
I've created Picoprobe support in #36, this is finally working for both the ArduinoCore-mbed core and Arduino-Pico. |
Could you include the Picoprobe as a debugging option in PlatformIO? It would be very useful if we could debug and program the Raspberry Pi Pico (with the RP2040 MCU) projects with an under $5 device.
The text was updated successfully, but these errors were encountered: