# Building an Application for an RSL15-284 Device

To build an application for an RSL15-284 device, a user needs to:

1. Select the RSL15-284 device.

2. Clone the RTE_Device.h information provided for RSL15-512 devices into the RSL15-284 information folder

3. Right click on the project, go to Properties > C/C++ Build > Settings > Tool Settings > Cross C Linker > General and change the path from ${workspace_loc:/${ProjName}}/RTE/Device/RSL15/sections.ld to ${workspace_loc:/${ProjName}}/RTE/Device/RSL15-284/sections.ld.

For the onsemi IDE, selecting the device can be done from the <app>.rteconfig file editor, Device tab, Change interface screen as shown in the "Selecting the RSL15-284 Device" figure, and cloning the RTE_Device.h information copies files from one directory to another as shown in the "Cloning the RTE_Device.h Configuration" figure.

Figure: Selecting the RSL15-284 Device

Figure: Cloning the RTE_Device.h Configuration

For the Keil µVision IDE, selecting the device can be done from the Device tab of the "Options for Target 'RSL15'..." menu as shown in the "Opening "Options for Target 'RSL15'..."" figure and the "Selecting the RSL15-284 Device" figure, and cloning the RTE_Device.h information from the project's RTE→Device→RSL15 directory to the RTE→Device→RSL15-284 directory. In addition, modify the location of the scatter file by selecting the Linker tab of the Options for Target 'RSL15'... menu and change the location from .\RTE\Device\RSL15\sections.sct to .\RTE\Device\RSL15-284\sections.sct.

Figure: Opening "Options for Target 'RSL15'..."

Figure: Selecting the RSL15-284 Device

For the IAR Embedded Workbench IDE, selecting the device can be done from the <app>.rteconfig file editor, Device tab, Change interface screen (as shown in the "Selecting the RSL15-284 Device in the IAR CMSIS Manager" figure), and cloning the RTE_Device.h information from the project's RTE > Device > RSL15 directory to the RTE > Device > RSL15-284 directory. In addition, modify the location of the linker configuration file by selecting the Linker tab in the Options, and changing the Linker configuration file location from $PROJ_DIR$\RTE\Device\RSL15\sections.icf to $PROJ_DIR$\RTE\Device\RSL15-284\sections.icf (as shown in the "Modifying the Linker Configuration Location" figure).

Figure: Selecting the RSL15-284 Device in the IAR CMSIS Manager

Figure: Modifying the Linker Configuration Location