Which CPU to select for RX26T compilation.
Which CPU to select for RX26T compilation.
Hello
I wan’t to compile for RX26T, but it is not found in the list of CPU in the current version of RX GCC (202311)
“rx-elf-gcc (GCC_Build_20231121) 8.3.0.202311-GNURX 20190222”
What CPU must I select? It is a RXv3 CPU?
BR. F. K. Larsen
Hello,
Thank you for reaching out to us!
When a CPU is not explicitly listed as an accepted value for the -mcpu option, users can specify the -misa option and some additional compile options that their MCU implements, in order to tell GCC which instruction set to use.
The RX26T, according to the MCU datasheet, is a 32-bit RXv3 CPU core, with on-chip FPU. The correct compile options would be: -misa=v3 and -fpu/-nofpu
Please let us know if we can be of further assistance.
__
Best regards,
The Open Source Tools Team
×