Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:openocd [2022/12/16 10:23] – [Install] darron | tools:openocd [2024/08/24 11:16] (current) – darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== OpenOCD ==== | ==== OpenOCD ==== | ||
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
\\ \\ | \\ \\ | ||
- | {{: | + | {{: |
</ | </ | ||
Line 18: | Line 18: | ||
< | < | ||
- | sudo apt install build-essential automake libtool libhidapi-dev libcapstone-dev | + | apt install build-essential |
</ | </ | ||
Line 25: | Line 24: | ||
< | < | ||
+ | mkdir -p /opt/src | ||
+ | cd /opt/src | ||
git clone https:// | git clone https:// | ||
cd openocd | cd openocd | ||
./bootstrap | ./bootstrap | ||
./configure --enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --enable-picoprobe --enable-jlink --enable-ft232r --enable-cmsis-dap --enable-cmsis-dap-v2 --with-capstone | ./configure --enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --enable-picoprobe --enable-jlink --enable-ft232r --enable-cmsis-dap --enable-cmsis-dap-v2 --with-capstone | ||
- | make | + | make -j 4 |
- | sudo make install | + | make install |
+ | </ | ||
+ | |||
+ | NB ST provide a modified version for their processors | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
</ | </ | ||