Specifications
CAVR-4
158
Descriptions of segments
AVR® IAR C/C++ Compiler
Reference Guide
HUGE_F
Holds static and global __hugeflash variables.
XLINK segment memory type
CODE
Memory space
Flash. The address range is 0x0–0xFFFFFF.
Description
Holds static and global __hugeflash variables and aggregate initializers.
HUGE_HEAP
Holds the heap used for dynamically allocated data in huge memory when using the
DLIB library.
XLINK segment memory type
DATA
Memory space
Data. The address range is 0x0–0xFFFFFF.
Description
This segment holds dynamically allocated data in huge memory, in other words data
used by huge_malloc and huge_free, and, in C++, new and delete.
This segment and its length is normally defined in the linker command file by the
command:
-Z(DATA)HUGE_HEAP+nn=start
where nn is the length and start is the location.
For more information about dynamically allocated data and the heap, see The return
address stack, page 43. For information about using the
new and delete operators for
a heap in huge memory, see New and Delete operators, page 114.
HUGE_I
Holds non-zero initialized static and global __huge variables.
XLINK segment memory type
DATA