Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
Part 2. Compiler reference
Segment reference
157
HEAP
Used for the heap when using the CLIB library.
XLINK segment memory type
DATA
Memory space
Data. The address range depends on the memory model:
Description
Holds the heap used for dynamically allocated data.
This segment and its length is normally defined in the linker command file by the 
command:
-Z(DATA)HEAP+nn=start
where 
nn
 is the length and 
start
 is the location.
HUGE_C
Holds 
_ _huge
 constant data, including string literals.
XLINK segment memory type
CONST
Memory space
Data. The address range is 
0x0–0xFFFFFF
.
Description
Holds 
_ _huge
 constant data, including string literals.
Note: This segment is located in external ROM. Systems without external ROM may 
not use this segment.
Memory model
Address range
Tiny
0x0–0xFF
Small
0x0–0xFFFF
Large
0x0–0xFFFFFF
Table 40: Heap memory address range