Part Number: LAUNCHXL-F28069M
Tool/software: TI C/C++ Compiler
Hello Community,
I am working with the F28069M EVM and I'm trying to implement a assembly function, inside a C project, which has to use variable declare, externally, in .C file
The variable inside the .c file is: RunPt
and this is de code I had in the .asm file:
;.cdecls C,NOLIST %{ #include "x00_RTOS.h" %}
.def _OS_Start
.global _OS_Start
.ref RunPt
***********************************************************************
* Function: codestart section
*
* Description: Branch to code starting point
***********************************************************************
.sect "OS_Start"
_OS_Start:
EALLOW
MOVZ AR2,@RunPt
MOV @SP,AR2
EDIS
LRETR
The output error is that the compiler:
undefined first referenced symbol in file --------- ---------------- RunPt ./x00_OSasm.obj error: unresolved symbols remain
Does anyone know how to resolve this problem?