GDB and OpenOCD
Hello There!
I have just installed the STM32 Workbench and so far so good. I’ve been working on CooCox but I wanted an alternative IDE where I can mix C and C++ without the hassle of tweaking xml files, linker scrips, and bunch of other stuff to allow CooCox to work with C++.
Well, right now I’m struggling with debugging and flashing issues. I used to flash the chip directly from within CooCox, however, in STM32 Workbench, I just don’t understand how it works and what I need to enable it. As far as I know, the STM32 installation comes pre-equipped with the toolchain, debugger (OpenOCD), and flash tools, however, I don’t see it anywhere. The installation details page shows the OpenOCD among the other stuff installed, however, I just don’t know where the excutable resides on my system. The search for OpenOCD.exe could not retrieve any resutls, too!
Finally, before I spend two days for nothing, do you know of any issues mixing C and C++ in STM32 Workbench, like those the CooCox suffer from? I just have a bunch of legacy ANSI C Libraries that I need on my project, and the rest has to be in C++.
I appreciate your help!
Zaher