Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5010

SDK • Documentation problem for building OpenOCD

$
0
0
Hello,

I didn't know if this issue belonged in github or not but this caused me a considerable amount of spent time so I wanted it to go somewhere.

in this document, as of the 15 October 2024 update...
https://datasheets.raspberrypi.com/pico ... h-pico.pdf

Appendix A
building OpenOCD

** installation instructions are missing a required line **

sudo make install

and optional flags need to be specified during the configuration step. I found these in the setup_pico.sh script
--enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --disable-werror

however, when I built it I ended up using these options and it has worked so far for my configuration to load .elf files with the Raspberry Pi Debug Probe
--disable-werror --enable-cmsis-dap


as a Note, I wish the existence of the script pico_setup.sh was more prominently noted. I spent the day working on my setup using various sources and only at the end of the day, in Appendix C: "manual toolchain setup" did I find the presence of a script for automated setup, :cry:

Statistics: Posted by silly05 — Sun Dec 01, 2024 2:30 pm



Viewing all articles
Browse latest Browse all 5010

Trending Articles