2.3 Set the Type of the Output File

Set the type of the file to be output as the product of the build.

(1)

For the application project

A load module file is generated.

The load module file will be the debug target.

Select the type of the convert file to be output as the product of the build other than the load module file.

 

Select the build tool node on the project tree and select the [Hex Output Options] tab on the Property panel. Select the file type in the [Hex file format] property in the [Hex Format] category.

Figure 2.4

[Hex file format] Property

 

-

When [Intel HEX file(-FOrm=Hexadecimal)] is selected

An Intel HEX file is output from the generated load module file.

-

When [Motorola S-record file(-FOrm=Stype)] is selected (default)

A Motorola S-record file is output from the generated load module file.

-

When [Binary file(-FOrm=Binary)] is selected

A binary file is output from the generated load module file.

Caution

See [Output file type] property in the [Output File Type and Path] category on the [Common Options] tab about the setting of the debug target.

(2)

For the library project

Select the build tool node on the project tree and select the [Create Library Options] tab on the Property panel. Select the format of the file in the [Output file format] property in the [Output File] category.

Figure 2.5

[Output file format] Property

 

-

When [User libraries(-FOrm=Library=U)] is selected (default)

A user library file is output.

-

When [System libraries(-FOrm=Library=S)] is selected

A system library file is output.

-

When [Relocatable file(-FOrm=Relocate)] is selected

A relocatable module file is output.

 

If the extension of output files is changed, the following message dialog box will open.

Figure 2.6

Message Dialog Box

 

Clicking [Yes] in the dialog box replaces the current file extension with the one for the output file type. Clicking [No], on the other hand, does not replace the current file extension.