Home arrow Support arrow Forums

Luminary Micro Forums

s.vempati@smartsparkenerg

Fresh Boarder

2008/11/03 15:47

Problem with codesourcery for LM3s6965

I am trying to modify the examples provided with the board.I could only modify the blinky,but rest of them which need the display have an error in startup_ewarm.c file.

__root const uVectorEntry g_pfnVectors[] @ "INTVEC" =

this is the line that gives me the errors.It says

error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'

and error: stray '@' in program

I donot understand what to do with this and without resolving this error I cannot compile the code.I am successful in dumping the example as it is but I cannot creat my own program.

Please suggest a solution for this.

Thanks,
Ram.

login or register to reply

hauensts

Senior Boarder

2008/11/04 00:47

Re:Problem with codesourcery for LM3s6965

You should use the startup_gcc.c. The startup_ewarm.c is for IAR compiler.

Stefan

login or register to reply

s.vempati@smartsparkenerg

Fresh Boarder

2008/11/04 07:47

Re:Problem with codesourcery for LM3s6965

I understand!!but I get errors when I donot include the startup_ewarm.c.

login or register to reply

hauensts

Senior Boarder

2008/11/04 08:15

Re:Problem with codesourcery for LM3s6965

What makefile you are using? If you use the makefile of the examples then the correct startup file is automatically selected.

Stefan

login or register to reply

s.vempati@smartsparkenerg

Fresh Boarder

2008/11/04 08:37

Re:Problem with codesourcery for LM3s6965

Now I am using the make file from the example.Thanks for that suggestion.But now I have only one error that is

make: *** [hello.o] Error 1 TEST1 line 0

I donot understand this error.Please help me with this.

Thanks,
Ram.

Post edited by: s.vempati@smartsparkenerg, at: 2008/11/04 11:17

login or register to reply

LMI Eric

Moderator

2008/11/04 16:32

Re:Problem with codesourcery for LM3s6965

Have you tried compiling the examples without any modifications? If you cannot compile the software when you haven't changed it, then you're doing something wrong.

I suggest looking at and following the instructions in the Quickstart guide that came with your kit. That will detail the steps required for everything from installing the compiler to building the examples.

login or register to reply