Alexander Kuge - 2025-02-10

Hello,

I use the following interrupt routine definition on multiple points in a compilable project with the actual CodeVisionAVR C Compiler and always get a syntax error in the checks for it. (Tested with version 2.16.0)

interrupt [my_vector] void my_routine (void) <= here
{
     // some code to do
}

If I use the define of the interrupt.h from the compiler includes it is not noticed ...
#define ISR(vector) interrupt [vector] void __isr##vector (void)
..., but it also has to work without it!?

Hope you can help me.

Best regards,
Alex