Other Parts Discussed in Thread: LM3S1968
Good Afternoon,
when i try to compile my project i get the following error:
INTERNAL ERROR!: failed to locate symbol for relocation entry at
offset 0x00000000 in section ".text"
I am compiling a project for stellaris LM3S1968, with code composer 5.3 version and compiler tms470 v 5.0.3. Recently i added a simple .asm file to my project, which before was fully written in C. I have all .C files in a 'projectdir' folder, and all generated .asm and .obj in 'Debug' subfolder.
How can i solve the error caused by .asm file? Does that error come from wrong comipilng settings? I've tried to change options, but nothing happens.
I am new with ARM assembly, here is a sample of the file i have written:
.sect ".const"
iopb_data_l .set 53fch
iopb_data_h .set 4000h
.sect ".text"
.clink
.thumbfunc _WriteData
.thumb
.global _WriteData
_WriteData:
MOVW R1,iopb_data_l
MOVT R1,iopb_data_h
STR R0,[R1]
BX LR