Specifications
CAVR-4
86
Runtime environment
AVR® IAR C/C++ Compiler
Reference Guide
● Small flash memory option (--64k_flash)
● 64-bit doubles option (--64bit_doubles).
For the AVR IAR C/C++ Compiler, this means there are prebuilt runtime libraries for
different combination of these options. The following table shows the names of the
libraries and how they reflect the used settings:
The names of the libraries are constructed in the following way:
<library><cpu><memory_model>-<enhanced_core>-<small_flash>-<64
-bit_doubles>.r90
where
● <library> is cl for the IAR CLIB Library, or dl for the IAR DLIB Library,
respectively (for a list of DLIB library files, see Using a prebuilt library, page 56)
● <cpu> is a value from 0 to 6, matching the -v option
● <memory_model> is either t, s, or l for Tiny, Small, or Large memory model,
respectively
● <enhanced_core> is ec when enhanced core is used. When the enhanced core is
not used, this value is not specified
● <small_flash> is sf when the small flash memory is available. When small flash
memory is not available, this value is not specified
● <64-bit_doubles> is 64 when 64-bit doubles are used. When 32-bit doubles are
used, this value is not specified.
IAR Embedded Workbench includes the correct runtime library based on the options
you select. See the AVR® IAR Embedded Workbench™ IDE User Guide for additional
information.
Specify which runtime library object file to use on the XLINK command line, for
instance:
cl0t.r90
Library file
Generic
processor
option
Memory
model
Enhanced
core
Small flash
64-bit
doubles
cl0t.r90 -v0 Tiny -- -- --
cl1s-64.r90 -v1 Small -- -- X
cl61-ec-64.r90 -v6 Large X -- X
Table 26: Prebuilt libraries