Hi,
I need the c_int00 in c-code.
What I want is to store the entry point to a specific location so, my program can be started from another application inside the same EEprom.
I tried to do it in Assembler like:
;---------------------------------------------------------------------
.ref _c_int00
.sect "BootloaderStartAddr"
BootloaderStartAddr:
.long _c_int00 ;Branch to start of boot.asm in RTS library
;---------------------------------------------------------------------
so what I want to do is:
extern long c_int00;
#pragma DATA_SECTION(usBootloaderStartAddr, "BootloaderStartAddr")
const long usBootloaderStartAddr = c_int00;
but then the complier gives the following warning:
#28 expression must have a constant value
how do I get the c_int00 in C-Code or at least at compile time?
Thanks in advance
Heiny