Atmel CAVR-4 Manual De Usuario
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
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:
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.
not use this segment.
Memory model
Address range
Tiny
0x0–0xFF
Small
0x0–0xFFFF
Large
0x0–0xFFFFFF
Table 40: Heap memory address range