Everything
2.1.2 Create a user library

The procedure for creating a user library is shown below.

Remark

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

(1)

Create or load a project

Create a new project, or load an existing one.

When you create a new project, specify [Library(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 build options

Set the options for the compiler, assembler, librarian, and the like (see "2.3Set Compile Options", "2.4Set Assemble Options", "2.6Set Create Library Options").

Remark

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

(6)

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).

(7)

Save the project

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