OpenOCD Patches

TinCanTools provides patches for the OpenOCD source to add support for the Flyswatter2 and Flyswatter3. 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.

[[Media:Tincantools-openocd-b0.12.patch|OpenOCD 0.5.0 Patch]]
Target: OpenOCD 0.5.0 source Version: b0.11 Format: diff Description: This patch adds support for the Flyswatter2 and Flyswatter3, updates the config file for the Flyswatter and the, 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

Files Modified:
 * src/jtag/drivers/ft2232.c
 * tcl/interface/flyswatter.cfg
 * tcl/board/hammer.cfg
 * tcl/target/amdm37x.cfg

Files Created:
 * tcl/interface/flyswatter2.cfg
 * tcl/interface/flyswatter3.cfg
 * tcl/board/olimex_pic32mx.cfg

[[Media:Openocd-fs3-b0.1.patch|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 and Flyswatter3 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

Files Modified:
 * src/jtag/drivers/ft2232.c

Files Created:
 * tcl/interface/flyswatter2.cfg
 * tcl/board/olimex_pic32mx.cfg