cancel
Showing results for 
Search instead for 
Did you mean: 

ST32F101RB hello world software

ericlarson9
Associate II
Posted on June 09, 2009 at 07:11

ST32F101RB hello world software

11 REPLIES 11
alex8
Associate II
Posted on May 17, 2011 at 13:13

Okay, here's a simple example...

It's quite ugly and I'm a little embarrassed to post it. But it may save someone some time.

Unfortunately it's using the Fwlib v2. In my working code, I replaced a lot of the library functions with direct writes thru pointers. The library seems to do a lot of runtime calcs.. also the Gnu linker links in all functions from a file if one is used.

In stripping this back for the example, I tried to use the library.. I couldn't get the serial init stuff going so I left my direct writes... sorry, I'll try to fix.

I've been thinking about coming up with some sort of a howto on this.

Anyways, what I've got is here:

http://faveluke.com/interests.html

On the 2009-6-9 entry, file to download is Blinky0.1.tar.gz.

st3
Associate II
Posted on May 17, 2011 at 13:13

Quote:

... buried in checkboxes and options by the IDE packagers, so you never really see it.

Yes, that is both the advantage and the problem with so-called ''IDEs''! :-?

It's supposed to be an ''advantage'' because it saves you having to wade through all the arcane options and settings, and having to set up your own script files, etc.

The problem comes, as you say, when it doesn't work - and you're left really not knowing what's going on ''under the bonnet (hood)''.

I think ST have really missed a trick here relative to a certain other well-known Cortex-M3 vendor - who provides low-cost, complete, ready-to-go kits including tools and examples specifically tailored to those tools.