bugAVR C Runtime Library - Bugs: bug #23234, Alternate interrupt macro

 
 

bug #23234: Alternate interrupt macro

Submitted by:  Ron Kreymborg <ronkrem>
Submitted on:  Mon 12 May 2008 05:06:09 AM UTC  
 
Category: Feature RequestSeverity: 1 - Wish
Priority: 3 - LowItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.2Fixed Release: 1.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 26 Feb 2011 12:36:12 AM UTC, comment #1:

In progress with adding new definitions to header files. The GCC patch is a different matter altogether and should be in GCC's bugzilla database and not here at avr-libc.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Mon 12 May 2008 05:06:09 AM UTC, original submission:

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

Ron Kreymborg <ronkrem>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #15655:  addline.c added by ronkrem (6KiB - text/plain)
file #15656:  interrupt_patch.txt added by ronkrem (4KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arcanum (Updated the item)
  • -unavailable- added by ronkrem (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 02 Mar 2011 04:33:48 PM UTCarcanumStatusIn Progress=>Fixed
      Percent Complete50%=>100%
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.1
    Sat 26 Feb 2011 12:36:12 AM UTCarcanumStatusNone=>In Progress
      Percent Complete0%=>50%
      Assigned toNone=>arcanum
    Mon 11 Aug 2008 02:49:48 AM UTCarcanumSeverity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low
    Mon 12 May 2008 05:06:09 AM UTCronkremAttached File-=>Added addline.c, #15655
      Attached File-=>Added interrupt_patch.txt, #15656

    Back to the top


    Powered by Savane 3.1-cleanup1