bugAVR C Runtime Library - Bugs: bug #39779, PCIE0 and PCIE1 defined...


bug #39779: PCIE0 and PCIE1 defined incorrectly for mega165a and mega165pa devices

Submitted by:  Senthil Kumar Selvaraj <saaadhu>
Submitted on:  Tue Aug 13 12:13:25 2013  
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 1.8.0Fixed Release: 1.8.1

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Mon Aug 11 21:42:49 2014, comment #4:

ATmega165PA already did have its own (and correct) header
file. I derived a header for ATmega165A from that one.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed Aug 14 06:31:30 2013, comment #3:

Yes, I found it.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed Aug 14 05:05:20 2013, comment #2:

Hmm, I see support for ATmega165A in devtools/gen-avr-lib-tree.sh and in include/avr/io.h - that's why I filed the bug here.

Senthil Kumar Selvaraj <saaadhu>
Project Member
Tue Aug 13 20:36:53 2013, comment #1:

Stock avr-libc does not support the ATmega165A at all; nobody
ever contributed the respective changes to the project.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Tue Aug 13 12:13:25 2013, original submission:

The datasheet says the bits are at positions 4 and 5, whereas the include file (which just redirects to mega165's) defines them at 6 and 7.


Senthil Kumar Selvaraj <saaadhu>
Project Member


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by saaadhu (Submitted the item)

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



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 11 21:42:49 2014joerg_wunschStatusConfirmed=>Fixed
      Fixed ReleaseNone=>1.8.1
    Wed Aug 14 06:31:30 2013joerg_wunschStatusInvalid=>Confirmed
    Tue Aug 13 20:36:53 2013joerg_wunschStatusNone=>Invalid
      Assigned toNone=>joerg_wunsch

    Back to the top

    Powered by Savane 3.1-cleanup1