CentOS8编译openocd-0.10.0
1、sudo yum install libusbx-devel
2、 ./configure --prefix=$HOME/openocd-0.10.0 --enable-jlink CFLAGS="-Wno-implicit-fallthrough -Wno-tautological-compare -Wno-format-overflow"
3、make
4、make install
5、./bin/openocd --version
6、sudo ./openocd -f bbb.cfg -c init -c "reset init"