Skip to main content
ChrisH
Associate III
November 18, 2019
Solved

OpenOCD source code.

  • November 18, 2019
  • 2 replies
  • 2275 views

Is there any place I can find the source code for OpenOCD bundled with current release of STM32CubeIDE? I'm asking because I think source for this should be provided as it is under GPL, I'm asking since STM32WB is not supported in source available on SF and I want to compile everything from scratch.

This topic has been closed for replies.
Best answer by TarekB-ST

Hi Chris,

At ST level we are aware that the code should be public, that's why we are upstreaming our contributions into the official OpenOCD git.

For example the STM32WB support is here: http://openocd.zylin.com/#/c/4933/

but this change is not merged yet in the master branch.

Furthermore, we have a mirror of OpenOCD hosted here: git://git.ac6.fr/openocd

this mirror already contains the support of STM32WB in the branch named "st".

In the near future, we will host, another mirror into Github, representing the ST official fork of OpenOCD.

You can use the mirror above, until we prepare the Github mirror.

You will be notified once the Github mirror is ready.

Regards,

Tarek

2 replies

Uwe Bonnes
Chief
November 19, 2019

openocd-code> git remote -v

origin https://git.code.sf.net/p/openocd/code (fetch)

origin https://git.code.sf.net/p/openocd/code (push)

TarekB-ST
TarekB-STAnswer
Associate
November 19, 2019

Hi Chris,

At ST level we are aware that the code should be public, that's why we are upstreaming our contributions into the official OpenOCD git.

For example the STM32WB support is here: http://openocd.zylin.com/#/c/4933/

but this change is not merged yet in the master branch.

Furthermore, we have a mirror of OpenOCD hosted here: git://git.ac6.fr/openocd

this mirror already contains the support of STM32WB in the branch named "st".

In the near future, we will host, another mirror into Github, representing the ST official fork of OpenOCD.

You can use the mirror above, until we prepare the Github mirror.

You will be notified once the Github mirror is ready.

Regards,

Tarek

ChrisH
ChrisHAuthor
Associate III
November 19, 2019

Hi Tarek,

thanks for clarifying that, I noticed on zylin there were references to STM32WB but wasn't sure if that were commits from ST. Sourceforge is quite outdated and I noticed a lot of open pull requests on zylin which aren't merged so I assumed you must have an alternative repo. Thanks for AC6 address!

Regards

Chris

TarekB-ST
Associate
January 13, 2020

Hi Chris,

A new repository is available under https://github.com/STMicroelectronics/OpenOCD

STMicroelectronics is actively working at merging these modifications in the official OpenOCD. In the mean time, these modifications are available in this repository.

This repository will be synchronized with STM32CubeIDE releases.

Regards,

Tarek