[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #23234] Alternate interrupt macro
From: |
Ron Kreymborg |
Subject: |
[avr-libc-dev] [bug #23234] Alternate interrupt macro |
Date: |
Mon, 12 May 2008 05:06:12 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2) |
URL:
<http://savannah.nongnu.org/bugs/?23234>
Summary: Alternate interrupt macro
Project: AVR C Runtime Library
Submitted by: ronkrem
Submitted on: Monday 05/12/2008 at 05:06
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 1.6.2
Fixed Release: None
_______________________________________________________
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.
Ron Kreymborg
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 05/12/2008 at 05:06 Name: addline.c Size: 6kB By: ronkrem
<http://savannah.nongnu.org/bugs/download.php?file_id=15655>
-------------------------------------------------------
Date: Monday 05/12/2008 at 05:06 Name: interrupt_patch.txt Size: 4kB By:
ronkrem
<http://savannah.nongnu.org/bugs/download.php?file_id=15656>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?23234>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #23234] Alternate interrupt macro,
Ron Kreymborg <=