Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:openocd [2024/12/11 06:34] – [Install] darron | tools:openocd [2025/02/23 18:10] (current) – darron | ||
---|---|---|---|
Line 15: | Line 15: | ||
Build from source enabling every supported interface type. | Build from source enabling every supported interface type. | ||
- | ==RPi== | + | ==Dependencies== |
Install prerequisites. | Install prerequisites. | ||
Line 22: | Line 22: | ||
apt install build-essential git automake libtool libhidapi-dev libcapstone-dev libusb-1.0-0-dev libjaylink-dev libgpiod-dev libftdi-dev pkg-config | apt install build-essential git automake libtool libhidapi-dev libcapstone-dev libusb-1.0-0-dev libjaylink-dev libgpiod-dev libftdi-dev pkg-config | ||
</ | </ | ||
+ | |||
+ | ==Dev== | ||
Install into /usr/local | Install into /usr/local | ||
Line 28: | Line 30: | ||
mkdir -p /opt/src | mkdir -p /opt/src | ||
cd /opt/src | cd /opt/src | ||
- | git clone https:// | + | git clone --recursive |
cd openocd | cd openocd | ||
./bootstrap | ./bootstrap | ||
- | ./configure --prefix=/ | + | ./configure --prefix=/ |
make -j 4 | make -j 4 | ||
make install | make install | ||
Line 37: | Line 39: | ||
STMicroelectronics and RPi provide modified versions of OpenOCD for their processors | STMicroelectronics and RPi provide modified versions of OpenOCD for their processors | ||
+ | |||
+ | ==STM== | ||
+ | |||
+ | Install into /opt | ||
< | < | ||
Line 48: | Line 54: | ||
make install | make install | ||
</ | </ | ||
+ | |||
+ | ==RPi== | ||
+ | |||
+ | Install into /opt | ||
< | < | ||
Line 59: | Line 69: | ||
make install | make install | ||
</ | </ | ||
+ | |||
+ | ==Test== | ||
< | < |