Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
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.
To set the equivalent option in IAR Embedded Workbench, select 
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.
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.
To set the equivalent option in IAR Embedded Workbench, choose 
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.