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 13 Aug 2013 12:13:25 PM UTC  
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Percent Complete:  0%
Assigned to:  Joerg Wunsch <joerg_wunsch> Open/Closed:  Closed
Release:  1.8.0 Fixed Release:  1.8.1

Add a New Comment(Rich Markup)

You are not logged in

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


Mon 11 Aug 2014 09:42:49 PM UTC, 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 14 Aug 2013 06:31:30 AM UTC, comment #3:

Yes, I found it.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed 14 Aug 2013 05:05:20 AM UTC, 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 13 Aug 2013 08:36:53 PM UTC, 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 13 Aug 2013 12:13:25 PM UTC, 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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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



    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-11 joerg_wunsch StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 1.8.1
    2013-08-14 joerg_wunsch StatusInvalid => Confirmed
        Open/ClosedClosed => Open
    2013-08-13 joerg_wunsch StatusNone => Invalid
        Assigned toNone => joerg_wunsch
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3