Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
196
Descriptions of options
AVR® IAR C/C++ Compiler
Reference Guide
For descriptions of the available memory attributes, see Table 7, Memory attributes for 
data
 on page 19 and Table 8, Memory attributes for functions on page 28. For a 
description of the segment name suffixes, see Segment naming, page 37.
--separate_cluster_for_
initialized_variables
--separate_cluster_for_initialized_variables
Separates initialized and non-initialized variables when using variable clustering. 
Makes the 
*_ID
 segments smaller but can generate bigger code.
--silent
--silent 
By default, the compiler issues introductory messages and a final statistics report. Use 
--silent
 to make the compiler operate without sending these messages to the standard 
output stream (normally the screen). 
This option does not affect the display of error and warning messages.
--spmcr_address
--spmcr_address address
This option sets the 
SPMCR
 address, where 
0x37
 is the default.
--strict_ansi
--strict_ansi 
By default, the compiler accepts a relaxed superset of ISO/ANSI C (see the chapter IAR 
language extensions
). Use 
--strict_ansi
 to ensure that the program conforms to the 
ISO/ANSI C standard.
Note: The 
-e
 option and the 
--strict_ansi
 option cannot be used at the same time.
To set the equivalent option in IAR Embedded Workbench, select 
Project>Options>C/C++ Compiler>Language.
--string_literals_in_flash
--string_literals_in_flash
Puts "string" in the __
nearflash
 or __
farflash
 segment depending on the processor 
option.
When this option is used, library functions taking a string literal as a parameter will no 
longer be type-compatible. Use the 
*_P
 library function variants (for example 
printf_P