#pragma rtos_interrupt and the __rtos_interrupt keyword of the CA78K0 are converted into #pragma rtos_interrupt of the CC-RL.
The format of the CA78K0 is as follows.
The format of the CC-RL is as follows.
When the interrupt request name exists, #include "iodefine.h" is output. A message is output because the interrupt request name may not be appropriate due to the device being changed. |
"interrupt-request-name" is converted into "vect=address" as a macro that indicates the address. The macro value is defined by iodefine.h. |
Function names can be omitted in the format of the CA78K0 and so the CA78K0 has a facility that prevents the user from defining ret_int and ret_wup which are used by the RTOS interrupt handler. Since the same facility is not available in the CC-RL, if the interrupt request name and function name are omitted, the CcnvCA78K0 outputs a message and comments out the #pragma directive. |
Since "Stack-change-specification" is not available in the CC-RL, it is deleted and a message is output. |
When a macro or typedef is used in declaration or definition of an interrupt function using the __rtos_interrupt keyword, the function name may be interpreted erroneously. Perform conversion after expanding the macro or typedef in advance. |
If there is a #pragma directive and a description of an interrupt function by a keyword for the same function, converting both of them into #pragma directives sometimes generates duplicate #pragma directives after conversion and a compile error will occur. In this case, delete the duplicate description. |
When omitting parameters of a function declaration in which the __rtos_interrupt keyword is specified, a compile error will occur in the CC-RL. The void type has to be written as the parameter type. |