Specifications
CAVR-4
Part 2. Compiler reference
Compiler options
199
See also --cpu, page 173, and Processor configuration, page 5.
This option is related to the Processor configuration option in the General Options
category in IAR Embedded Workbench.
--version1_calls --version1_calls
This option is provided for backward compatibility. It makes all functions and function
calls use the calling convention of the A90 IAR Compiler, ICCA90, which is described
in Calling convention, page 99.
To change the calling convention of a single function, use the __version_1 function
type attribute. See __version_1, page 214, for detailed information.
This option is related to the Code options in the C/C++ Compiler category in IAR
Embedded Workbench.
--warnings_affect_exit_code --warnings_affect_exit_code
By default, the exit code is not affected by warnings, as only errors produce a non-zero
exit code. With this option, warnings will generate a non-zero exit code.
To set the equivalent option in IAR Embedded Workbench, select
Project>Options>C/C++ Compiler>Diagnostics.
-v5 Reserved for future
derivatives
Allows function calls through farfunc function pointers to
cover the entire 8 Mbyte code space by using
EICALL/EIJMP. 3 bytes are used for function pointers.
Interrupt vectors are 4 bytes long. The compiler assumes
that it is possible to have external memory and will
therefore generate _C segments.
-v6 Reserved for future
derivatives
Allows function calls through farfunc function pointers to
cover the entire 8 Mbyte code space by using
EICALL/EIJMP. 3 bytes are used for function pointers.
Interrupt vectors are 4 bytes long.The compiler assumes
that it is possible to have external memory and will
therefore generate _C segments.
Generic
processor
option
Processor variant Description
Table 51: Processor variant command line options (Continued)