Skip to main content
Renesas India - Knowledgebase

How to allocate programs to RAM?

Latest Updated:05/18/2015


I am using the CC-RL compiler for RL78 devices. How can I allocate programs to RAM?


Use ROMization for allocating the programs in RAM.
・Use the linker’s –rom option to specify the mapping of initialized sections and destination sections.
・Specify the allocation of the above sections by using the –start option of the linker.
・Use the startup routine or some other method to copy the initial values.

For details, refer to “ROMization” in the user’s manual.

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family