cancel
Showing results for 
Search instead for 
Did you mean: 

OpenOCD source code.

ChrisH
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TarekB-ST
Associate III

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

View solution in original post

4 REPLIES 4
Uwe Bonnes
Principal II

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
Associate III

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

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

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