Everything
2.1.1 Create a load module

The procedure for creating a load module is shown below.

Remark

See "CS+ Integrated Development Environment User’s Manual: Project Operation" for details about (1), (3), (4), (8), and (9).

(1)

Create or load a project

Create a new project, or load an existing one.

When you create a new project, specify [Empty Application(GHS CCRH850)] as the project type.

(2)

Confirm the path of tools

Confirm the setting of the [Path of Tools] category from the [Common Options] tab on the Property panel, and change it if this is required.

(3)

Set a build target project

Set a build target project.

(4)

Set build target files

Add or remove build target files and update the dependencies.

(5)

Set the type of the output file

Select the type of the load module to be generated (see "2.2Set the Type of the Output File").

(6)

Set build options

Set the options for the compiler, assembler, linker, and the like (see "2.3Set Compile Options", "2.4Set Assemble Options", "2.5Set Link Options", and the like).

Remark

Setting of build-tool properties is supported for version 2023.5.4, 2023.1.4, 2022.1.4, 2021.1.5, 2020.5.5, 2020.1.5, 2019.5.5, 2019.1.5, 2018.5.5, 2018.1.5, 2017.5.5, 2017.1.5, 2016.5.5, 2015.1.7, 2015.1.5, 2014.1.7, 2013.5.5, 2013.1.5, and 2012.5.5 of the GHS compiler.
Even if build options of the GHS compiler are supported by the build tool, some of them may not be supported by the CS+ debug tool. For details, refer to section "Advanced downloading" under "Download/Upload Programs" in chapter "FUNCTIONS" of "CS+ RH850 Debug Tool".

(7)

Set the update method of the I/O header file

Update the I/O header file in accordance with the update of the device file (see "2.8Automatically Update the I/O Header File").

(8)

Run a build

Run a build.

Remark

If there are any commands you wish to run before or after the build process, on the Property panel, from the [Common Options] tab, in the [Others] category, set the [Commands executed before build processing] and [Commands executed after build processing] properties.
If there are any commands you wish to run before or after the build process at the file level, you can set them from the [Individual Compile Options] tab (for a C source file) and [Individual Assemble Options] tab (for an assembly source file).

(9)

Save the project

Save the setting contents of the project to the project file.