I'm trying to use SERCOM interrupts in my SAMD21J18A Xplained PRO, but when add to the module WINC1500 i get an error saying that " multiple definition of `SERCOM2_Handler' ".
I found out that if i comment the following lines i can use interrupts but cant communicate with WINC1500.
<#define _SERCOM_INTERRUPT_HANDLER(n, unused) \
void SERCOM##n##_Handler(void) \
<MREPEAT(SERCOM_INST_NUM, _SERCOM_INTERRUPT_HANDLER, ~)>
So, my question is how do i code an interrupt using WINC1500?