OpenOCD Patches

From eLinux.org
Jump to: navigation, search

TinCanTools provides patches for the OpenOCD source to add support for the Flyswatter2. These patches also contain config files for use with other guides on this wiki.

Patches on this page are linked directly from the guides on Compiling OpenOCD.


Reading the Content of Patches

OpenOCD are created by the Linux program diff. Diff files are in text format. You can see the changes made by a patch on this page by simply opening and reading it in a text editor. Lines added to files are proceeded by a + sign.

The full text of all config files can also be found on the OpenOCD Config Files page.


OpenOCD 0.5.0 Patch

Target: OpenOCD 0.5.0 source
Version: b0.11
Format: diff
Description: This patch adds support for the Flyswatter2, updates the config file for the Flyswatter and the Hammer, and adds a new config file for the Olimex PIC-P32MX board.
Install: Save to /openocd-0.5.0, the directory containing the OpenOCD source. Then open a terminal window and type:

$ cd ~/openocd-0.5.0
$ patch -p1 -i Tincantools-openocd-b0.12.patch


Download Tincantools-openocd-b0.12.patch
Right-click the link and select "Save As"

Files Modified:

Files Created:


Version Changes
0.11


OpenOCD 0.4.0 Flyswatter 2 Patch

Target: OpenOCD 0.4.0 source
Version: b0.1
Format: diff
Description: This patch adds support for the Flyswatter2 in OpenOCD 0.4.0, and adds a new config file for the Olimex PIC-P32MX board.
Install: Save to /openocd-0.4.0, the directory containing the OpenOCD source. Then open a terminal window and type:

$ cd ~/openocd-0.4.0
$ patch -p1 -i Openocd-fs3-b0.1.patch


Download Openocd-fs3-b0.1.patch
Right-click the link and select "Save As"

Files Modified:

  • src/jtag/drivers/ft2232.c

Files Created:

External Links

diff man page
patch man page