Everything
2.3.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%.abs

Hex file name: %ProjectName%.mot

Library file name: %ProjectName%.lib

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

[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 [Hex Output Options] tab on the Property panel.

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

Figure 2.8

[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 Hex Output)] category on the [Common Options] tab.

 

If the [Hex file format] property in the [Hex Format] category is changed, the following message dialog box will open.

Figure 2.9

Message Dialog Box

 

When [Yes] is selected in the dialog box, the extension of the output file name is changed according to the format selected in the [Hex file format] property.

Figure 2.10

[Output file name] and [Hex file format] Property

 

(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.11

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

 

If the [Output file format] property is changed, the following message dialog box will open.

Figure 2.12

Message Dialog Box

 

When [Yes] is selected in the dialog box, the extension of the output file name is changed according to the format selected in the [Output file format] property.

Figure 2.13

[Output file format] and [Output file name] Property