Specifications
CAVR-4
154
Descriptions of segments
AVR® IAR C/C++ Compiler
Reference Guide
Description
Holds user program code that has been declared __farfunc. The __farfunc memory
attribute is available when using the
-v5 and -v6 options, in which case the __farfunc
is implicitly used for all functions.
FAR_C
Holds __far constant data, including string literals.
XLINK segment memory type
CONST
Memory space
Data. The address range is 0x0–0xFFFFFF.
Description
Holds __far constant data, including string literals.
Note: This segment is located in external ROM. Systems without external ROM may
not use this segment.
When the
-y compiler option is used, __far constant data is located in the FAR_I
segment.
FAR_F
Holds static and global __farflash variables.
XLINK segment memory type
CODE
Memory space
Flash. The address range is 0x0–0x7FFFFF.
Description
Holds static and global __farflash variables and aggregate initializers.