I believe it is reporting that you are out of addressable space for your application. That is you need to make the Code smaller or use a larger processor.
Is it possible to add space to the XBEE?
I have seen in the documentation that there some space that is unimplemented, is it possible to use it to have more space for the application?
I’m currently trying to reduce the size of my code.
This is one of thoughts times where the Help file within the application provides the answer. I did a simple search in the Help file for Out of allocation space in segment and found the following:
L1102: Out of allocation space in segment =“”> at address =“”>
[ERROR]
Description
The specified segment is not big enough to contain all objects from the sections placed in it.
: is the name of the segment, which is too small.
Example
In the following example, suppose the section .data contains a character variable and then a structure which size is 5 bytes.
Out of allocation space in segment MY_RAM at address 0x801
LINK fibo.abs
NAMES fibo.o startup.o END
SEGMENTS
MY_RAM = READ_WRITE 0x800 TO 0x803;
MY_ROM = READ_ONLY 0x805 TO 0xAFF;
MY_STK = READ_WRITE 0xB00 TO 0xBFF;
END
PLACEMENT
.text INTO MY_ROM;
.data INTO MY_RAM;
.stack INTO MY_STK;
END
// Set reset vector on _Startup
VECTOR ADDRESS 0xFFFE _Startup
Tips
Set the end address of the specified segment to an higher value.