bugAVR C Runtime Library - Bugs: bug #30670, Missing USART1 power management...

 
 

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

bug #30670: Missing USART1 power management for ATmega644x

Submitter:  Tibor Vilhan <tivi>
Submitted:  Fri 06 Aug 2010 07:09:34 AM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  None Assigned to:  aboyapati
Percent Complete:  100% Open/Closed:  Closed
Release:  Any Fixed Release:  1.6.1

Sun 09 Jan 2011 08:23:08 PM UTC, comment #3: 

Thanks! From my point of view it was fixed better than I advised.

Tibor Vilhan <tivi>
Mon 20 Sep 2010 08:19:52 AM UTC, comment #2: 


If no further comments, the bug can be closed as fixed (or invalid?)

Anitha Boyapati <aboyapati>
Mon 20 Sep 2010 08:16:33 AM UTC, comment #1: 


> Detail modification you can find in sections starting with:
> #if !defined(AVR_ATmega644)


I think these changes are already present in the trunk due to revision 2159.

http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/include/avr/power.h?root=avr-libc&r1=2118&r2=2159

The above revision correctly included _AVR_ATmega644P_, _AVR_ATmega644A_, _AVR_ATmega644PA_ along with other mega devices (atmega164p, atmega324p...) for defining adc, spi, usart0, usart1, timer0, timer1 and twi.

Hence given patch to eliminate usart1 definition for ATmega644 is not required.

Anitha Boyapati <aboyapati>
Fri 06 Aug 2010 07:09:34 AM UTC, original submission:  

Missing USART1 masking possibility in PRR for ATmega644x family. Added conditional precompiler definitions to the file power.h.

Therefore easily replace original file in path .../avr/include/avr/power.h with modified one from the attachment, please.

Detail modification you can find in sections starting with:
#if !defined(_AVR_ATmega644_)

I haven't checked PWR mngmnt header consistency with vendor documentation for another Atmel uCPUs families.

Tibor Vilhan <tivi>

 

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

Attached Files
file #21159:  power.h added by tivi (61KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-22 aboyapati Open/ClosedOpen Closed
        Fixed ReleaseNone 1.6.1
    2010-09-20 aboyapati Assigned toNone aboyapati
    2010-08-06 tivi Attached File- Added power.h, #21159

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code