Skip to content

OpenOCD Install

Andrew Dresner edited this page Apr 16, 2020 · 6 revisions
  • Prereqs:
  1. sudo apt-get install libudev-dev libusb-1.0-0-dev libusb-dev
  2. sudo apt-get install autotools-dev autoconf automake libtool
  3. git clone git://github.com/signal11/hidapi.git hidapi-source
  4. cd hidapi-source/
  5. ./bootstrap
  6. ./configure
  7. make
  8. sudo make install

Note: This did not work for Andrew because he sucks at life- He had to use apt:

sudo apt install libhidapi-libusb0

  • OpenOCD:
  1. git clone git://git.code.sf.net/p/openocd/code openocd-source
  2. cd openocd-source/
  3. ./bootstrap
  4. ./configure --enable-aice --enable-amtjtagaccel --enable-armjtagew --enable-cmsis-dap --enable-dummy --enable-ftdi --enable-gw16012 --enable-jlink --enable-jtag_vpi --enable-opendous --enable-openjtag_ftdi --enable-osbdm --enable-legacy-ft2232_libftdi --enable-parport --disable-parport-ppdev --enable-parport-giveio --enable-presto_libftdi --enable-remote-bitbang --enable-rlink --enable-stlink --enable-ti-icdi --enable-ulink --enable-usb-blaster-2 --enable-usb_blaster_libftdi --enable-usbprog --enable-vsllink
  5. make
  6. sudo make install
Clone this wiki locally