Specifications

CAVR-4
Part 2. Compiler reference
Segment reference
161
NEAR_C
Holds __tiny and __near constant data, including string literals.
XLINK segment memory type
CONST
Memory space
Data. The address range is 0x0–0xFFFF.
Description
Holds __tiny and __near constant data, including string literals.
Note: This segment is located in external ROM. Systems without external ROM may
not use this segment.
NEAR_F
Holds static and global __flash variables.
XLINK segment memory type
CODE
Memory space
Flash. The address range is 0x0–0xFFFF.
Description
Holds static and global __flash variables and aggregate initializers.
NEAR_HEAP
Holds the heap used for dynamically allocated data in near memory when using the
DLIB library.
XLINK segment memory type
DATA
Memory space
Data. The address range is 0x0–0xFFFF.
Description
This segment holds dynamically allocated data in near memory, in other words data used
by near_malloc and near_free, and in C++, new and delete.