- Clone the Open OCD git
$ git clone https://github.com/openocd-org/openocd.git
Code language: PHP (php)
2. install dependency program
$ sudo apt install libusb-1.0-0-dev
$ sudo apt-get install libhidapi-dev
Code language: JavaScript (javascript)
4. build the openocd
$ ./bootstrap
$ ./configure --enable-cmsis-dap
$ make
$ sudo make install