bugAVR C Runtime Library - Bugs: bug #35948, iom32u4.h for ATmega32U4...


bug #35948: iom32u4.h for ATmega32U4 incorrectly defines Timer 2

Submitted by:  Paul Fox <pgf>
Submitted on:  Thu 22 Mar 2012 03:44:05 PM UTC  
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Pitchumani <pitchumani>Open/Closed: Open
Release: 1.6.8Fixed Release: None

Add a New Comment(Rich Markup)

You are not logged in

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


Thu 20 Mar 2014 03:00:53 PM UTC, comment #2:

removed timer2 related definitions from iom32u4.h

Pitchumani <pitchumani>
Project MemberIn charge of this item.
Thu 28 Jun 2012 04:54:03 PM UTC, comment #1:

This bug affects Arduino project and needs to get fixed before next release.

Eric Weddington <arcanum>
Project Administrator
Thu 22 Mar 2012 03:44:05 PM UTC, original submission:

it's my understanding from the datasheet that the atmega32u4 doesn't have a Timer 2, so it seems like the definitions for TCCR2A, TIFR2, TCNT2, etc, should be missing from the header file.

all of those are, indeed, missing from iom32u2.h, so i think their presence in iom32u4.h must be just an oversight.

apparently timer 2 isn't mentioned in the ATmega32U4.xml part description file provided with AVR Studio, either, though i was told this at the avrfreaks forum, and don't know it firsthand.

(my version is 1.6.8-2, from ubuntu natty.)


Paul Fox <pgf>


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

Attach File(s):

Attached Files
file #27593:  35498.patch added by aurel32 (1KiB - text/x-diff - Patch to fix the issue)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by pitchumani (Updated the item)
  • -unavailable- added by aurel32 (Updated the item)
  • -unavailable- added by arcanum (Posted a comment)
  • -unavailable- added by pgf (Submitted the item)

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



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Mar 2014 03:00:53 PM UTCpitchumaniStatusIn Progress=>Fixed
    Thu 20 Mar 2014 02:55:06 PM UTCpitchumaniStatusNone=>In Progress
      Assigned toNone=>pitchumani
    Sun 10 Mar 2013 07:59:17 PM UTCaurel32Attached File-=>Added 35498.patch, #27593
    Fri 16 Nov 2012 06:31:27 PM UTCarcanumPriority7 - High=>9 - Immediate
    Thu 28 Jun 2012 04:54:03 PM UTCarcanumPriority5 - Normal=>7 - High

    Back to the top

    Powered by Savane 3.1-cleanup1