Closed tuupola closed 3 years ago
Thank you for this contribution! It is great to add OpenOCD!
Since this has significant dependences to run (not just build), would it be possible to not include this in the default riscv-tools? In other words, keep the commit creating the formula, drop the commit adding it to riscv-tools, and add a commit to advertise the availability of OpenOCD in the README?
Done. Does it look ok?
Looks great! Thanks!
This PR adds support for installing the RISC-V version of OpenOCD.
Since the repository does not seem to tag versions I followed the example from other recipes and used the repository as the
url
and branch name as theversion
. This recipe installs cleanly on macOS Catalina 10.15.7 (19H1323). Recipe installs as a keg because it conflicts with the vanilla OpenOCD provided by Homebrew.I can successfully compile and upload Nuclei SDK examples to a Longan Nano board. I have not tried with any other boards.