Everything

-cpu


< Compile Options / Microcontroller Options >

[Format]

-cpu={ rx600 | rx200 }

 

-

[Default]

The default for this option is determined based on the environment variable CPU_RX.

[Description]

-

This option specifies the microcontroller type for the instruction code to be generated.

-

When cpu=rx600 is specified, an instruction code for the RX600 Series is generated.

-

When cpu=rx200 is specified, an instruction code for the RX200 Series is generated.

[Remarks]

-

This option is for compatibility with earlier products.

-

For upcoming RX-family MCUs, the isa option will be used instead of the cpu option to select an instruction-set architecture. In developing new applications, use the isa option where possible.

-

The cpu option can be replaced by the -isa, -fpu and -nofpu option as follows.

-

- -cpu=rx600 ==> -isa=rxv1 -fpu

-

- -cpu=rx200 ==> -isa=rxv1 -nofpu

-

When cpu=rx200 is specified, the nofpu option is automatically selected.

-

cpu=rx200 and the fpu option cannot be specified at the same time.

-

When cpu=rx600 is specified while neither the nofpu option nor the fpu option has been specified, the fpu option is automatically selected.

-

Omitting the cpu option will lead to an error if neither the -isa option nor one of the environment variables (CPU_RX or ISA_RX) is specified.

-

The cpu and isa options cannot be specified at the same time.