Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
Part 2. Compiler reference
Compiler options
197
-v
-v[0|1|2|3|4|5|6] 
Use this option to select the processor derivative for which the code is to be generated. 
The following processor variants are available:
Generic 
processor 
option 
Processor variant
Description
-v0
AT90S2313
AT90S2323
AT90S2333
AT90S2343
AT90S4433
ATtiny13
ATtiny26
ATtiny2313
The code space is physically limited to 8 Kbytes, and the 
RCALL/RJMP
 instructions are used for reaching the code 
space. Interrupt vectors are 2 bytes long. The compiler 
assumes that the index registers X, Y, and Z are eight bits 
wide when accessing the built-in SRAM. It also assumes 
that it is not possible to attach any external memory to the 
microcontroller and that it therefore should not generate 
any constant segment in data space (_C segment). Instead 
the compiler adds an implicit -y command line option. It 
will also try to place all aggregate initializers in flash 
memory, that is, the implicit --initializers_in_flash option is 
also added to the command line. Relative function calls are 
made.
-v1
AT90S4414 
AT90S4434 
AT90S8515 
AT90S8534 
AT90S8535
ATmega8
ATmega48
ATmega88
ATmega8515
ATmega8535
The code space is physically limited to 8 Kbytes, and the 
RCALL/RJMP
 instructions are used for reaching the code 
space. Interrupt vectors are 2 bytes long. The compiler 
assumes that it is possible to have external memory and 
will therefore generate _C segments. Relative function calls 
are made.
Table 51: Processor variant command line options