The -R8C and -R8CE options are both options available when using R8C Family MCUs.
The -R8CE option is specified when using address 0x10000 or above.
The -R8C option is specified when not using address 0x10000 or above.
Please note which library will be linked to the program according to the specified option, as indicated below.
|Conditions||Internal ROM Size (*1)||Option||Standard Library (*2)|
|Using memory areas from address 0x10000 or higher||ROM 64KB or higher||-R8CE||nc30lib|
|Not using memory areas from address 0x10000 or higher||Less than ROM 64KB||-R8C||r8clib|
(*1) The R8C Family includes some products that have ROM areas located at address 0x10000 or higher even if the internal ROM size is less than 64KB. In this case, please specify the -R8CE option.
(*2) When using Compiler V.6 in the High-performance Embedded Workshop to build a program, the appropriate standard library will be linked automatically.
Where to Specify Standard Library:
The specified locations of the standard libraries in the High-performance Embedded Workshop are as follows.
For Compiler V.5: from the menu, go to [Build]/[ Renesas M16C Standard Toolchain] → [Linker] tab.
For Compiler V.6: in the same menu, go to [Standard Library]/[Category] = [Mode], select [Standard Library File Creation (when changing option)] to automatically link the appropriate standard library.
Where to Specify -R8C, -R8CE Options:
To specify the -R8C or -R8CE option in the High-performance Embedded Workshop, go to [Build]/[Renesas M16C Standard Toolchain] → [CPU] tab, and specify [CPU Type]. In Compiler V.5.44 or earlier, the following selections will be displayed (incorrectly).
-R8CE: [Generates code for R8C/Tiny (R8C/2X) series]
-R8C: [Generates code for R8C/Tiny series]
The above description is incorrect. We apologize for the inconvenience, and have corrected the contents to the following from V.5.45, as follows:
-R8CE: [Create code for R8C Family (ROM >= 64KB)]
-R8C: [Create code for R8C Family (ROM < 64KB)]
|C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]|