Files
openocd-utils/readme.md
2026-04-09 12:16:42 +02:00

592 B

build openocd on cm4:

sudo apt update
sudo apt upgrade -y
sudo apt install git build-essential libtool autoconf texinfo libusb-1.0-0-dev libftdi1-dev libhidapi-dev pkg-config -y
sudo apt-get install pkg-config libjim-dev -y

git clone https://github.com/openocd-org/openocd.git
cd openocd

git fetch https://review.openocd.org/openocd refs/changes/18/8818/10 && git checkout -b change-8818 FETCH_HEAD

./bootstrap
./configure --enable-bcm2835gpio --enable-sysfsgpio
make
sudo make install

Flash the radios

bash flash.sh -i swd0 -f merged.hex bash flash.sh -i swd1 -f merged.hex