-DEVICE


This option specifies the device file name used at linkage.

[Specification format]

-DEVICE=file

 

-

Interpretation when omitted

The information of the device file is not used at linkage.

When this option is omitted, the settings of the user option bytes, the control value for the on-chip debug, and the security ID value become invalid.

[Detailed description]

-

Specify the name of the target device file used at linkage as file.

-

An error will occur if the specified file is not found.

-

An object code corresponding to information of the specified target device file is generated.

-

An error will occur if the specifications in the device file differ from the CPU core or the use of the division/multiplication and multiply-accumulate unit specified in the compiler, or the CPU core specified in the assembler.

-

An error will occur if the mirror area specified in the assembler differs from that specified in the device file.

[Example of use]

-

To specify target device file name DR5F10Y14.DVF, describe as:

>rlink file1.obj -device=dr5f10y14.dvf