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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #23234: Alternate interrupt macro

Submitter:  Ron Kreymborg <ronkrem>
Submitted:  Mon 12 May 2008 05:06:09 AM UTC
   
 
Category:  Feature Request Severity:  1 - Wish
Priority:  3 - Low Item Group:  Header files
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  1.6.2 Fixed Release:  1.6.1

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>
Group administrator
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.)

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
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by ronkrem (Submitted the item)
  •  

    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-02 arcanum StatusIn Progress Fixed
        Percent Complete50% 100%
        Open/ClosedOpen Closed
        Fixed ReleaseNone 1.6.1
    2011-02-26 arcanum StatusNone In Progress
        Percent Complete0% 50%
        Assigned toNone arcanum
    2008-08-11 arcanum Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
    2008-05-12 ronkrem Attached File- Added addline.c, #15655
        Attached File- Added interrupt_patch.txt, #15656

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code