The binary files are available from GitHub releases.
The full details of installing the xPack OpenOCD on various platforms are presented in the separate Install page.
To install the latest version available, use:
$ xpm install --global @xpack-dev-tools/openocd@latest
To install this specific version, use:
$ xpm install --global @email@example.com
The xPack OpenOCD generally follows the official OpenOCD releases.
The current version is based on:
- OpenOCD version 0.10.0, the development commit 263deb380 from 7 July 2019
There are no functional changes.
Compared to the upstream, the following changes were applied:
- a configure option was added to configure branding (
src/openocd.cfile was edited to display the branding string
contrib/60-openocd.rulesfile was simplified to avoid protection related issues.
The original documentation is available in the
Binaries for Windows, macOS and GNU/Linux are provided.
The binaries 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.
- GNU/Linux: all binaries were built with GCC 7.4, running in a CentOS 6 Docker container
- Windows: all binaries were built with mingw-w64 GCC 7.4, running in a CentOS 6 Docker container
- macOS: most binaries were built with GCC 7.4, running in a separate folder on macOS 10.10.5; GDB cannot be compiled with GCC, so Apple clang was used.
The binaries were testes on Windows 10 Pro 32/64-bit, Ubuntu 18 LTS 64-bit, Xubuntu 18 LTS 32-bit and macOS 10.13.
The tests 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.
The SHA-256 hashes for the files are:
ba13b6697db9213fc51024e3bbfe6bb565106053569dfcd4b8966a75538ba7b5 xpack-openocd-0.10.0-13-darwin-x64.tgz 3283752a96235a5072eba27603f7976df00767c30acd011c84fa692cd5bfe3dd xpack-openocd-0.10.0-13-linux-x32.tgz 44fefd65e915e9e697b490eb990b4555424af3b7c166c9e298058dc555039cae xpack-openocd-0.10.0-13-linux-x64.tgz d3801dc0f65940d23d39e3166d7e92a236f2f302d0ff7d692b34afef39ba3e4a xpack-openocd-0.10.0-13-win32-x32.zip f287d06db3d7fde4e407b939387b17d906d888c8750f0d465bef80b913c645ea xpack-openocd-0.10.0-13-win32-x64.zip
- GitHub xpack-dev-tools/openocd-xpack
- this release
- all xPack releases
- all GNU MCU Eclipse releases
- individual file counters (grouped per release)
- npmjs.com @xpack-dev-tools/openocd