Tool/software: Code Composer Studio
Hello
I defined a pointer variable uipCurrentTaskTCBPtr in C source file, and I want to use the variable in .s file, so I program like this in the C source file.
uipTask *uipNextRunningTaskTCBPtr (uipTask is a structure).
I write following code in .h file.
extern uipTask *uipCurrentTaskTCBPtr;
And I write following code in .s file
.global uipCurrentTaskTCBPtr
LDR r3 uipCurrentTaskTCBPtr
then, I compile the program, I got the error message.
(1): Address must be defined in the current section
(2): Illegal operand
why this fault appear?
Best Regards
Jack
