Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 6 and Version 7 of Debugging/OpenOCD


Ignore:
Timestamp:
04/15/18 23:59:37 (6 years ago)
Author:
Chris Johns
Comment:

Add a generic build from GIT example.

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/OpenOCD

    v6 v7  
    771. [wiki:OpenOCD/TMS570 Texas Instruments TMS570/TMS570LS3137]
    881. [wiki:OpenOCD/Raspberry_Pi Raspberry Pi]
     9
     10= Building OpenOCD from GIT =
     11
     12The following is a quick example detailing how to build OpenOCD from GIT. Please refer to the OpenOCD documentation for any further detail and specific help.
     13
     14{{{
     15$ git clone git://repo.or.cz/openocd.git openocd.git
     16$ cd openocd.git
     17$ ./bootstrap
     18$ cd ..
     19$ mkdir build
     20$ cd build
     21$ ../openocd.git/configure --enable-maintainer-mode --enable-ftdi --disable-werror --prefix=/opt/work/openocd
     22$ gmake -j 8
     23$ gmake install
     24}}}
     25
     26'''Notes:'''
     27 1. The prefix `/opt/work/openocd` if just an example path, select a suitable local path for your host.
     28 1. On FreeBSD the `--disable-werror` option needs to be used to disable warnings being treated as errors.
     29 1. You need `--enable-ftdi` option is need to support the Flyswatter2 pod. Other pod may require other options.