A study of GCC and the TI Stellaris

hard-look-at-stellaris-and-gcc

There are several things that we really like about the TI Stellaris. We think the peripheral library — called Stellarisware — has a pretty intuitive API that makes it easy to get into. But we’re also quite impressed that the software comes with makefiles that build the libraries and examples using your own GCC cross compiling toolchain. We spent quite a bit of time pawing through those makefiles and the makedefs settings file to figure out how TI was doing things. Now if you don’t want to do that sleuthing yourself you can head on over to the GCC with TI Stellaris Launchpad guide which [Brandon] just published.

Shown above is the helpful chart of compiler flags which he pulled from the files with his added comments on what each does. He did the same for the linker flags, and then discusses the program calls made during compilation and linking. He then delves into how the driver library on the chip’s ROM can be accessed in code. This is just the first in a four-part series he plans to write. We can’t wait to see what he has to say about the hardware FPU as we haven’t had time to explore that for ourselves quite yet.

9 thoughts on “A study of GCC and the TI Stellaris

  1. Just received my Stellaris Launchpad today. I have collected three Launchpads so far (missing the Fraunchpad I guess) and am a bit dismayed at the three different styles of headers: Stellaris with females on the bottom, males on top, C2K with males top and bottom, and dealers choice with the MSP430 (I chose females before TI settled on males on top).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.