Hello,
I'm trying to use the CLA and have some problems with the "variable" Cla1Prog_Start. I can't define it and the compiler always output identifier "Cla1Prog_Start" is undefined. I'm using it to set he Cla1Regs.MVECT1 register.
This value is normally defined into the .cmd file:
_Cla1Prog_Start = _Cla1funcsRunStart;
It is as well init into the main file:
extern Uint16 Cla1Prog_Start;
Cla1funcsRunStart is as well defined into the main file:
extern Uint16 Cla1funcsLoadStart;
extern Uint16 Cla1funcsLoadEnd;
extern Uint16 Cla1funcsRunStart;
and copied during the init:
MemCopy(&Cla1funcsLoadStart, &Cla1funcsLoadEnd, &Cla1funcsRunStart);
I don't use .asm file where this label is defined. All is done with C files.
Do you have any idea why I can't init this "variable"?
Many thanks in advance for your help...
Steve