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)
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)
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