Skip to main content

IAR Embedded Workbench for RL78 5.20

Device support

In this section:

To get a smooth start with your product development, the IAR product installation comes with a wide range of device-specific support.

Supported RL78 devices

The IAR C/C++ Compiler for RL78 supports all devices based on the standard Renesas RL78 microcontroller cores.

Note

In version 1.x of the compiler, the cores S1, S2, and S3 had the names RL78 0, RL78 1, and RL78 2.

Preconfigured support files

The IAR product installation contains preconfigured files for supporting different devices. If you need additional files for device support, they can be created using one of the provided ones as a template.

Header files for I/O

Standard peripheral units are defined in device-specific I/O header files with the filename extension h.

Device description files

The debugger handles several of the device-specific requirements, such as definitions of available memory areas, peripheral registers and groups of these, by using device description files. These files are located in the rl78\config directory and they have the filename extension ddf. The peripheral registers and groups of these can be defined in separate files (filename extension sfr), which in that case are included in the ddf file. For more information about these files, see Modifying a device description file.

Examples for getting started

Example applications are provided with IAR Embedded Workbench. You can use these examples to get started using the development tools from IAR. You can also use the examples as a starting point for your application project.

You can find the examples in the rl78\examples directory. The examples are ready to be used as is. They are supplied with ready-made workspace files, together with source code files and all other related files. For information about how to run an example project, see Working with example projects.