From 975a3320a3b70aba92fa1f4634078ec9c13ad5d2 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 1 Apr 2025 15:12:36 +0800 Subject: [PATCH] Update openocd build config. --- Readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 234f74c..65b15ce 100644 --- a/Readme.md +++ b/Readme.md @@ -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 ```