xPack xPack OpenOCD v0.12.0-7 released
Version 0.12.0-7.1 is a maintenance release; it updates to the latest upstream master.
The xPack OpenOCD is a standalone cross-platform binary distribution of OpenOCD.
There are separate binaries for Windows (x64), macOS (x64 and arm64) and GNU/Linux (x64, arm64, arm).
The main targets for the GNU/Linux Arm binaries are the Raspberry Pi class devices (aarch64 only; armv6 and armv7l are no longer supported).
Download
The binary files can be downloaded automatically with xpm or manually from GitHub Releases.
Prerequisites
- x64 Windows: Windows 7 with the Universal C Runtime (UCRT), Windows 8, Windows 10, Windows 11
- x64 macOS: 11.0 or later
- arm64 macOS: 11.0 or later
- x64 GNU/Linux: any system with GLIBC 2.28 or higher (like Ubuntu 20 or later, Debian 10 or later, RedHat 8 or later, Fedora 29 or later, etc)
- arm64 GNU/Linux: any system with GLIBC 2.28 or higher (like Raspberry Pi OS, Ubuntu 20 or later, Debian 10 or later, RedHat 8 or later, Fedora 29 or later, etc)
Install
The easiest way to install this specific version, is by using xpm:
xpm install @xpack-dev-tools/openocd@0.12.0-7.1 --verbose
Comprehensive instructions for installing xPack xPack OpenOCD on different platforms can be found in the Install Guide.
Compliance
The xPack OpenOCD is based on the official OpenOCD sources.
The current version is based on:
- OpenOCD version 0.12.0, the development commit e5888bda38f4952e2ae92f7dc5b25fc9a2d1c2b3 from 30 Sep 2025.
Changes
There are no functional changes.
Compared to the upstream, the following changes were applied:
- the
src/openocd.c
file was edited to display the branding string - the
contrib/60-openocd.rules
file was simplified to avoid protection related issues (theGROUP
andTAG
definitions were removed).
Bug fixes
- none
Enhancements
- none
Known problems
- none
Documentation
The original OpenOCD documentation is available from the project web site:
Build
The binaries for all supported platforms (Windows, macOS and GNU/Linux) were built using the xPack Build Box (XBB), a set of build environments based on slightly older distributions, that should be compatible with most recent systems.
For the prerequisites and more details on the build procedure, please see the Maintainer Info page.
CI tests
Before publishing, a set of simple tests were performed on an exhaustive set of platforms. The results are available from:
Tests
For more tests, install the package with xpm.
The simple test, consists in starting the binaries only to identify the STM32F4DISCOVERY board.
~/Library/xPacks/@xpack-dev-tools/openocd/0.12.0-7.1/.content/bin/openocd -f board/stm32f4discovery.cfg
A more complex test consist in programming and debugging a simple blinky application on the STM32F4DISCOVERY board. The binaries were those generated by simple Eclipse projects available in the xPack GNU Arm Embedded GCC project.
Checksums
The SHA-256 hashes for the files are:
667342c086984f3e5a55b4e0d5f711add13fb04de040fca493303000e6c19327
xpack-openocd-0.12.0-7-darwin-arm64.tar.gz
668ad25350103a4357e11629ec833eae5982e973889ce25bad0c2963e37fa8bf
xpack-openocd-0.12.0-7-darwin-x64.tar.gz
db73a3ab91c556ecec2405a7e02d404b11139df6aba1031cad94a7e6766d06cc
xpack-openocd-0.12.0-7-linux-arm64.tar.gz
94b3790983beaf8ed57e646c0620dd66d705fddae03d290823a6ed3b439468d6
xpack-openocd-0.12.0-7-linux-x64.tar.gz
6bfd3c97135aafef8affc9af1acf34fd0e2b9ca26044506f6abd7f95b7630052
xpack-openocd-0.12.0-7-win32-x64.zip
Folders hierarchy
After install, the package creates a hierarchy of folders like the following (only the first two depth levels are shown):
- Windows
- macOS
- GNU/Linux
C:> tree /f %USERPROFILE%\AppData\Roaming\xPacks\@xpack-dev-tools\openocd\0.12.0-7.1\.content
Folder PATH listing
Volume serial number is B02D-925C
├── README.md
├── bin
│ ├── libftdi1.dll
│ ├── libusb-1.0.dll
│ └── openocd.exe
├── distro-info
│ └── licenses
└── openocd
├── OpenULINK
├── angie
├── contrib
└── scripts
8 directories, 4 files
$ tree -L 2 ~/Library/xPacks/@xpack-dev-tools/openocd/0.12.0-7.1/.content/
/Users/ilg/Library/xPacks/@xpack-dev-tools/openocd/0.12.0-7.1/.content/
├── README.md
├── bin
│ └── openocd
├── distro-info
│ └── licenses
├── libexec
│ ├── libftdi1.2.5.0.dylib
│ ├── libftdi1.2.dylib -> libftdi1.2.5.0.dylib
│ ├── libhidapi.0.15.0.dylib
│ └── libusb-1.0.0.dylib
└── openocd
├── OpenULINK
├── angie
├── contrib
└── scripts
10 directories, 6 files
$ tree -L 2 ~/.local/xPacks/@xpack-dev-tools/openocd/0.12.0-7.1/.content/
/home/ilg/.local/xPacks/@xpack-dev-tools/openocd/0.12.0-7.1/.content/
├── README.md
├── bin
│ └── openocd
├── distro-info
│ └── licenses
├── libexec
│ ├── libftdi1.so.2 -> libftdi1.so.2.5.0
│ ├── libftdi1.so.2.5.0
│ ├── libhidapi-hidraw.so.0 -> libhidapi-hidraw.so.0.15.0
│ ├── libhidapi-hidraw.so.0.15.0
│ ├── libudev.so.1 -> libudev.so.1.6.13
│ ├── libudev.so.1.6.13
│ ├── libusb-1.0.so.0 -> libusb-1.0.so.0.5.0
│ └── libusb-1.0.so.0.5.0
└── openocd
├── OpenULINK
├── angie
├── contrib
└── scripts
9 directories, 10 files
Deprecation notices
GNU/Linux minimum requirements
The minimum requirement is GLIBC 2.28, available starting with Ubuntu 20, Debian 10 and RedHat 8. Support for RedHat 7 was dropped in 2022. Support for Ubuntu 18 was dropped in 2025.
32-bit support
Support for 32-bit x64 GNU/Linux and x64 Windows was dropped in 2022 and for 32-bit Arm GNU/Linux in 2025.
Pre-deprecation notice for x64 macOS
Apple has discontinued support for the x64 (Intel) architecture. GitHub will no longer support this architecture on macOS after the macOS 15 runner image is retired in November 2027; building and testing x64 macOS binaries will become more difficult, requiring a self-hosted runner, and cannot be guaranteed in the long term.
You should begin migrating your projects to arm64-based (Apple Silicon) binaries to prepare for this possible deprecation.
Analytics
- GitHub xpack-dev-tools/openocd-xpack
- this release
- all xPack releases
- all GNU MCU Eclipse releases
- individual file counters (grouped by release)
- this release
- npmjs.com @xpack-dev-tools/openocd
Credit to Shields IO for the badges and to Somsubhra/github-release-stats for the individual file counters.