2.2 Convert a CA78K0R project into a CC-RL project

A project for the CA78K0R compiler created by using CS+ or CubeSuite+ can be converted into a project for the CC-RL compiler. Make use of the existing file configuration to create a new project for the CC-RL compiler.

The properties of the build tool are also maintained, and converted for use with the CC-RL.

Remark

When newly creating a project, see "CS+ Project Operation".

Caution 1.

Since the source files are not converted, a build error may occur in some source files immediately after conversion.

Caution 2.

If you wish to reuse an existing PM+ project, open the project in CS+, then save it as a CS+ project (for the method of converting a PM+ project into a CS+ project, see "CS+ Project Operation").

 

First, from the [Project] menu, select [Create New Project...], the Create Project dialog box will open.

Figure 2.1

Create Project Dialog Box

 

Set the items in the order below and click the [Create] button.

(1)

Select the microcontroller type

Select "RL78" on [Microcontroller].

(2)

Select the microcontroller

Select the microcontroller to use in the project on [Using microcontroller].

(3)

Select the project type

Under [Kind of project], select "Empty Application(CC-RL)" or "Library(CC-RL)", in accordance with the source project.

(4)

Specify the project name and location to create the project file

Specify the name of the project and the location to create the project file in [Project name] and [Place].

If you dont create a folder with the project name under the specified location, clear the [Make the project folder] check box.

Remark

It is recommended to specify the same folder as the diverted project for the location to create the project file.
If a folder different from the diverted project is specified, there is a possibility that path determination fails and a build error is occurred.

(5)

Specify the reuse of a CA78K0R project

Check [Pass the file composition of an existing project to the new project] and specify the location of the project filename to reuse in [Project to be passed].

 

Remark

The result that a CC-RL project is created by reusing a CA78K0R project (the versions of the IDE and compiler package, and conversion information of options) is output to a file as project divert information.

-

The project divert information file name is "ProjectDivertInformationn.txt" (n = 2 to 100).
n is not added normally. It is added if the file to be created already exist.

-

The project divert information file is output for each created project (subproject).

-

The project divert information file is output to the project folder of the project (subproject).

-

The project divert information file is added to the File node of the project (subproject) on the Project Tree panel.

 

The output format of the project divert information file is shown below.

(1)Time and date on which a project was created
 
(2)<CS+ IDE(Integrated Development Environment Framework) version>
    CS+ IDE: Version of IDE of CA78K0R project -> Version of IDE of CC-RL project
 
(3)<Compiler package version>
    CA78K0R: Version -> CC-RL: Version
 
(4)<Options not to use(Build mode)>
    Command name(Tab name of build tool property)
     Option
        :
 
(5)<Options to change(Build mode)>
    Command name(Tab name of build tool property)
     Option of CA78K0R project -> Option of CC-RL project
        :

Number

Description

(1)

Time and date on which a project was created

The time and date on which a CC-RL project was created by reusing a CA78K0R project is output using format "dddd, mmmm dd, yyyy hh:mm:ss AM/PM".

(2)

CS+ IDE(Integrated Development Environment Framework) version

The version of IDE of a CA78K0R project and the version of IDE of a CC-RL project are output.

(3)

Compiler package version

The compiler package used in a CA78K0R project and the version, and the compiler package used in a CC-RL project and the version are output.

The version of CC-RL is the latest version in the compiler packages which are installed in the CS+ environment.

(4)

Options not to use(Build mode)

If an option that has been set in a CA78K0R project and is not used in a CC-RL project exists, the information is output for each build mode in the format shown below.

 

   Command name(Tab name of build tool property)
    Option
       :

-

This item is output only when the corresponding option exists.

-

CA78K0R options are converted into CC-RL options which have the same function.
The option that has the same function and different name is not output.

-

Build modes are output in the following order: "DefaultBuild", user-created build mode ("DefaultBuild" is the build mode that CS+ provides by default).
See "CS+ Integrated Development Environment Users Manual: Project Operation" for detail about a build mode.

(5)

Options to change(Build mode)

If an option that has been set in a CA78K0R project and has been changed to use in a CC-RL project exists (in the case that the function is same as CA78K0R, but the parameter does not exist in CC-RL, so it is changed to other one, and the like), the information is output for each build mode in the format shown below.

 

   Command name(Tab name of build tool property)
    Option of CA78K0R project -> Option of CC-RL project
        :

-

This item is output only when the corresponding option exists.

-

CA78K0R options are converted into CC-RL options which have the same function.
The option that has the same function and different name is not output.

-

Build modes are output in the following order: "DefaultBuild", user-created build mode ("DefaultBuild" is the build mode that CS+ provides by default).
See "CS+ Integrated Development Environment Users Manual: Project Operation" for detail about a build mode.