This is the toolchain I use for STM32 (and other ARMCM3/ARM7/ARM9 microcontrollers as well).
-
Eclipse Galileo + CDT + Zylin plugin for debugging.
-
OpenOCD 3.1.
-
Latest YAGARTO.
-
Olimex ARM-USB-OCD JTAG probe.
It is open source and allows advanced development and debugging from within the Eclipse IDE.
If you need a STM32 demo complete of startup files, linker scripts, makefile etc then follow the link in my signature, download the zip file and look into ./demos/ARMCM3-STM32F103-GCC for a ready to go STM32 application (to compile it just “make” from a command line or import the demo into a “makefile C project” into Eclipse).
Giovanni