scompo/stellaris-launchpad-template-gcc — pull request #3 by mroy (2012-11-21 18:37:01+00:00)
Title: Fixed a bug in LM4F.ld

The main difference is in LM4F.ld where _end_text is defined, it did not include .rodata for whatever reason. This caused a hard fault when many libc functions were called in my code.

After some advice, the updated LM4F.ld seems to account for .rodata and the data gets copied correctly. Also, in the template is an implementation of newlib stubs. Using these changes, I can now use printf() and malloc() provided by newlib from the template.

Also, great work with lm4tools. To figure out this problem I used the new ICDI in openocd which seems to work great!

Cheers.
Mark Roy