Question: During the build of a project, how should the following warning be dealt with? "warning: area 'AreaName? not defined in startup file './obj/boot.o' and does not have an link time address."
Response: In projects that make use of RAM AREAs that are not explicitly defined in the "boot.asm" file, the linker may generate the warning message:
"warning: area 'AreaName' not defined in startup file './obj/boot.o' and does not have an link time address."
This warning may be safely ignored. However, if you wish to eliminate this warning message, you must explicitly define the RAM AREA specified in the warning message. This can be done by editing the boot.tpl file in the project folder. Towards the bottom of the boot.tpl file, all of the AREA declarations are made, such as AREA InterruptRAM, AREA bss etc. Just before the AREA bss declaration, make a new area declaration, with the name of the area exactly as in the warning message.
For example, if there is a counter named "deadtimecounter" in the project which produces a warning, the following is the code to be added to boot.tpl.
AREA virtual_registers (RAM, REL, CON) ; Temp vars of C compiler
AREA InterruptRAM (RAM, REL, CON) ; Interrupts, on Page 0
AREA deadtimecounter_RAM (RAM, REL, CON) -------------> Add this code to remove warning
AREA bss (RAM, REL, CON) ; general use __bss_start: