Everything
2.2.1 Change the output file name

The names of the load module file, hex file, and library file output by the build tool are set as follows by default.

 

Load module file name: %ProjectName%

Hex file name: %ProjectName%.run

Library file name: lib%ProjectName%.a

Remark

"%ProjectName%" is a placeholder. It is replaced with the project name.

 

The method to change these file names is shown below.

(1)

When changing the load module file name

Select the build tool node on the project tree and select the [Link Options] tab on the Property panel.

Enter the file name to be changed to in the [Output file name] property in the [Output File] category.

Figure 2.2

[Output file name] Property

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

Remark

You can also change the option in the same way with the [Output file name] property in the [Frequently Used Options(for Link)] category on the [Common Options] tab.

(2)

When changing the hex file name

Select the build tool node on the project tree and select the [Link Options] tab on the Property panel.

Enter the hex file name to be changed to in the [Output file name] property in the [Hex Output] category.

Figure 2.3

[Output file name] Property

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

 

(3)

When changing the library file name

Select the build tool node on the project tree and select the [Create Library Options] tab on the Property panel.

Enter the library file name to be changed to on the [Output file name] property in the [Output File] category.

Figure 2.4

[Output file name] Property

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

Remark

You can also change the option in the same way with the [Output file name] property in the [Frequently Used Options(for Create Library)] category on the [Common Options] tab.