8.5.5
Combinations of Code Generating Options
When the master and application are built, the option settings related to the PIC/PID function should be matched between the objects that compose the master and application.
The following shows the rules for specifying options for each object compilation and the conditions of option settings in other objects that can be linked.
When building the master, specify the PIC/PID function options as shown in Table 8.6.
Table 8.6 | Rules for Specifying PIC/PID Function Options in Master |
|
|
|
pic
|
× Not allowed
|
pic is not specified
|
pid
|
× Not allowed
|
pid is not specified
|
nouse_pid_register
|
O Can be specified except the standard library and setting PID register of the startup program
|
No conditions
|
fint_register
|
O Can be specified
|
fint_register with the same parameters must be specified
|
base
|
O Can be specified
|
base with the same parameters must be specified
|
When building an application, specify the PIC/PID function options as shown in Table 8.7.
Table 8.7 | Rules for Specifying PIC/PID Function Options in Application |
|
|
|
pic
|
O Can be specified
|
pic is necessary
|
pid
|
O Can be specified
|
pid is necessary
|
nouse_pid_register
|
× Not allowed
|
nouse_pid_register is not specified
|
fint_register
|
O Can be specified
|
fint_register with the same parameters must be specified
|
base
|
O : Can be specified
|
base* with the same parameters must be specified
|
Note | * When pid is specified, base=rom=<register> is not allowed. |
(3) | Between Master and Application |
In the master and application, the PIC/PID function options should be specified as shown in tTable 8.8.
Table 8.8 | Rules for Combinations of PIC/PID Function Options between Master and Application |
|
|
pic
|
No conditions
|
pid
|
nouse_pid_register is necessary if application calls functions of master
|
fint_register
|
fint_register with the same parameters is necessary
|
base
|
base* with the same parameters is necessary
|
Note | * When pid is specified, base=rom=<register> is not allowed. |