2024-05-09 03:53 AM
Hi,
I tried to connect my stm32c0 board to openocd to work in CLion but found that latest open ocd version doesn't support it. I found ST version of OpenOCD and build it but inside it I still can't find stm32c0 board configuration.
So my question is how to link stm32c0116-dk board with openocd (original or st version). Thank you.
2024-05-10 04:08 PM
Get the CubeIDE (or download and install), import any example for stm32c0116-dk (or create a minimal project). Then create a debug configuration with OpenOCD as the debugger backend. CubeIDE will produce a simple OpenOCD config file.