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

 
 

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

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

Submitter:  Paul Fox <pgf>
Submitted:  Thu 22 Mar 2012 03:44:05 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  Header files
Status:  Fixed Assigned to:  pitchumani
Percent Complete:  0% Open/Closed:  Open
Release:  1.6.8 Fixed Release:  None

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

removed timer2 related definitions from iom32u4.h
http://svn.savannah.nongnu.org/viewvc?view=rev&root=avr-libc&revision=2413

Pitchumani <pitchumani>
Group Member
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>
Group 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

Paul Fox <pgf>

 

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

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
  • -email is unavailable- added by pitchumani (Updated the item)
  • -email is unavailable- added by aurel32 (Updated the item)
  • -email is unavailable- added by arcanum (Posted a comment)
  • -email is unavailable- added by pgf (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-20 pitchumani StatusIn Progress Fixed
    2014-03-20 pitchumani StatusNone In Progress
        Assigned toNone pitchumani
    2013-03-10 aurel32 Attached File- Added 35498.patch, #27593
    2012-11-16 arcanum Priority7 - High 9 - Immediate
    2012-06-28 arcanum Priority5 - Normal 7 - High

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code