The answer is yes.
Erika shall not catch any kind of interrupts at all, unless you want erika to do it.
Be aware that with this solution you will not use properly the erika kernel, since the erika interrupt handling has been done to have coherency in the task scheduling mechanism.
To tell the kernel that you want to use an interrupt service routine you should use the
ISR2() or
ISR1(), look at the erika refman for further details.
The syntax for the same example you mentioned before is:
| Code: : |
ISR2(_PERIPHERALInterrupt)
{
/* Interrupt body! */
code .....
}
|