Atmel CAVR-4 Manuale Utente
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.
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.
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
by
near_malloc
and
near_free
, and in C++,
new
and
delete
.