Atmel CAVR-4 Manual De Usuario
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
CAVR-4
180
Descriptions of options
AVR® IAR C/C++ Compiler
Reference Guide
--eec++
--eec++
In the AVR IAR C/C++ Compiler, the default language is C. If you take advantage of
Extended Embedded C++ features like namespaces or the standard template library in
your source code, you must use this option to set the language the compiler uses to
Extended Embedded C++. See IAR Extended Embedded C++, page 110.
Extended Embedded C++ features like namespaces or the standard template library in
your source code, you must use this option to set the language the compiler uses to
Extended Embedded C++. See IAR Extended Embedded C++, page 110.
To set the equivalent option in IAR Embedded Workbench, select
Project>Options>C/C++ Compiler>Language.
Project>Options>C/C++ Compiler>Language.
--eecr_address
--eecr_address address
If you use the
-v
processor option, the
--eecr_address
option can be used for
modifying the value of the
EECR
address, where
0x1C
is the default.
If you use the
--cpu
processor option, the
--eecr_address
option is implicitly set,
which means you should not use these options together.
--enable_multibytes
--enable_multibytes
By default, multibyte characters cannot be used in C or C++ source code. If you use this
option, multibyte characters in the source code are interpreted according to the host
computer’s default setting for multibyte support.
option, multibyte characters in the source code are interpreted according to the host
computer’s default setting for multibyte support.
Multibyte characters are allowed in C and C++ style comments, in string literals, and in
character constants. They are transferred untouched to the generated code.
character constants. They are transferred untouched to the generated code.
To set the equivalent option in IAR Embedded Workbench, choose
Project>Options>C/C++ Compiler>Language.
Project>Options>C/C++ Compiler>Language.
--eeprom_size
--eeprom_size=N
Use this option to enable the
_ _eeprom
extended keyword by specifying the size of the
built-in EEPROM. The value
N
can be
0–65536
.
Note: To use the
_ _eeprom
extended keyword, the language extensions must be
enabled. For additional information, see -e, page 179, and #pragma language, page 220.
This option is related to the Code options in the C/C++ Compiler category in IAR
Embedded Workbench.
Embedded Workbench.