> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Ron Kreymborg
> Sent: Sunday, May 11, 2008 11:06 PM
> To: Ron Kreymborg; avr-libc-dev@nongnu.org
> Subject: [avr-libc-dev] [bug #23234] Alternate interrupt macro
> 
> 
> Details:
> 
> In each ioxxx.h header file in avr/include/avr, and for each 
> entry in the
> file:
> 
> #define XXXXXX_vect       ##
> 
> add the new line:
> 
> #define XXXXXX_vect_num   ##
> 
> where the XXXXXXs and ## match. Thus a typical entry would become:
> 
> /* Timer/Counter1 Capture Event */
> #define TIMER1_CAPT_vect_num            5
> #define TIMER1_CAPT_vect                _VECTOR(5)
> #define SIG_INPUT_CAPTURE1              _VECTOR(5)
> 
> Rather than produce a diff for each header, I have attached a simple C
> program that performs this conversion.
> 
> The intent of this patch is to support the gcc patch also attached.
> 

Hi Ron,

Does your program *only* add the _vect_num definitions? Or does it also
add the SIG_ definitions as well? I would rather NOT have it add the
SIG_ definitions as those are deprecated and we are no longer adding
those definitions to header files.

Thanks,
Eric


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to