Can't compile StellaWare

I am trying to develop applications with Eclipse / Linux for Stellaris Launchpad ( LM4F120

). I am following this tutorial: http://kernelhacks.blogspot.de/2012/11/the-complete-tutorial-for-stellaris.html

However, I am unable to compile StellarisWare with make

:

adc.c:1: error: bad value (cortex-m4) for -mcpu= switch
adc.c:1: error: invalid floating point option: -mfpu=fpv4-sp-d16

      

Obviously 'cc' is used for compilation instead arm-*-gcc

. How can I get around this problem?

I am using gcc-arm-none-eabi-4_7-2012q4

. I did the following things for both a) the complete StellarisWare ( SW-LM3S-9453.exe

) package and the Stellaris Launchpad ( SW-EK-LM4F120XL-9453.exe

):

1. Unzip: ../SW-*.zip
2. Try to compile: make

      

+3


source to share


1 answer


please follow the instructions in the article below.

http://www.embeddedcircle.com/stellaris-lm4f120-launchpad-compiling-in-ubuntu-12-04/



do not forget to set the compiler path according to instruction 4

0


source







All Articles