< Assembler Command Options / Microcontroller Options >
[Format]
The default for this option is determined based on the environment variable CPU_RX.
[Description]
- | This option specifies the CPU type for the instruction code to be generated. |
- | When -cpu=rx600 is specified, a relocatable file for the RX600 Series is generated. |
- | When -cpu=rx200 is specified, a relocatable file 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 options as follows. |
- | -cpu=rx600 ==> -isa=rxv1 -fpu |
- | -cpu=rx200 ==> -isa=rxv1 -nofpu |
- | 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. |