Update openocd build config.

This commit is contained in:
Colin 2025-04-01 15:12:36 +08:00
parent 4bdaedee09
commit 975a3320a3
1 changed files with 2 additions and 1 deletions

View File

@ -22,10 +22,11 @@ https://www.segger.com/downloads/jlink/
```shell
sudo apt-get install libjim-dev
sudo apt-get install libjaylink-dev
sudo apt-get install libhidapi-dev
git clone https://github.com/riscv/riscv-openocd.git
cd riscv-openocd
./bootstrap
./configure --prefix=$RISCV --enable-remote-bitbang --enable-jtag_vpi --enable-ftdi --enable-jlink
./configure --prefix=$RISCV --enable-remote-bitbang --enable-jtag_vpi --enable-ftdi --enable-jlink --enable-cmsis-dap
make
sudo make install
```