I am programing it now in ATxmega128A1U .
I use SPIF port in SPI communication.
I would like to settle a code going for ISR routine if I receive data in SPIF port.
So, I added ISR code in event.c
I added this interrupt routine, but the following error occurs.
Error2Disabling relaxation: it will not work with multiple definitions11MainUnit
Error3ld returned 1 exit statuscollect2.exe00MainUnit
Error1multiple definition of `__vector_118'C:\Users\kmaeh_000\Documents\GitHub\raspberryPiTCPClient\testSpi161101\M1601A_20161205\MainUnit\Debug/.././event.c871MainUnit
I use RTOS called uCOS in the program.
Please tell me about this kinds of solution.