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.2 Set the Type of the Output File").

(6)

Set build options

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

Remark

Setting of build-tool properties is supported for version 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.8 Automatically 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.