Have you looked at the samples included with the FWLib?
If you have a devkit (or "dev board" or whatever), it should come with examples.
I still have yet to find a single example of STM32 project that works with GNU tools while using Standard Peripheral Library.
A couple people pointed me in the right direction.
One of the big troubles of getting going with a new uC (at least for me) seems to be linker command files. These are buried in checkboxes and options by the IDE packagers, so you never really see it.
In the thread above, disirio responded to me giving me a link to his ChibiOS project, at http://chibios.sourceforge.netin which there was a pretty readable linker command file.. that got me over the ****.
I'm working on putting together a "simplest possible example." It'll take a day or two, I'll post it when I've got it.
Hang in there. When you get code buildable from your own makefile, you'll have a huge feeling of freedom and power.
the (sic) Eclipse IDE is one of the best
... buried in checkboxes and options by the IDE packagers, so you never really see it.
Retrieving data ...