2.3.1 Change the output file name

The names of the load module file, hex file, S record file, binary data file, relocatable module file, and library file output by the build tool are set to the following names by default.

 

Load module file name: %ProjectName%.abs

Hex file name: %ProjectName%.hex

S record file name: %ProjectName%.mot

Binary data file name: %ProjectName%.bin

Relocatable module file name: %ProjectName%.rel

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 on the [Output file name] property in the [Output] category.

Figure 2.7

[Output file name] Property (For Load Module File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

(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 file name to be changed to on the [Output file name] property in the [Output File] category.

Figure 2.8

[Output file name] Property (For Hex File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

(3)

When changing the S record file name

Select the build tool node on the project tree and select the [Hex Output Options] tab on the Property panel. Enter the file name to be changed to on the [Output file name] property in the [Output File] category.

Figure 2.9

[Output file name] Property (For S Record File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

(4)

When changing the binary data file name

Select the build tool node on the project tree and select the [Hex Output Options] tab on the Property panel. Enter the file name to be changed to on the [Output file name] property in the [Output File] category.

Figure 2.10

[Output file name] Property (For Binary Data File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

(5)

When changing the user library file name

Select the build tool node on the project tree and select the [Librarian Options] tab on the Property panel. Enter the file name to be changed to on the [Output file name] property in the [Output] category.

Figure 2.11

[Output file name] Property (For User Library File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

(6)

When changing the system library file name

Select the build tool node on the project tree and select the [Librarian Options] tab on the Property panel. Enter the file name to be changed to on the [Output file name] property in the [Output] category.

Figure 2.12

[Output file name] Property (For System Library File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.

(7)

When changing the relocatable module file name

Select the build tool node on the project tree and select the [Librarian Options] tab on the Property panel. Enter the file name to be changed to on the [Output file name] property in the [Output] category.

Figure 2.13

[Output file name] Property (For Relocatable Module File)

 

This property supports the following placeholders.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectName%: Replaces with the main project name.

%ProjectName%: Replaces with the project name.