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

 
 

bug #30670: Missing USART1 power management for ATmega644x

Submitted by:  Tibor Vilhan <tivi>
Submitted on:  Fri 06 Aug 2010 07:09:34 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: NonePercent Complete: 100%
Assigned to: Anitha Boyapati <aboyapati>Open/Closed: Closed
Release: AnyFixed Release: 1.6.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>In charge of this item.
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>In charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

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
  • -unavailable- added by aboyapati (Posted a comment)
  • -unavailable- added by tivi (Submitted the item)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Sep 2010 04:56:17 AM UTCaboyapatiOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.1
    Mon 20 Sep 2010 08:16:33 AM UTCaboyapatiAssigned toNone=>aboyapati
    Fri 06 Aug 2010 02:56:47 PM UTCtiviAttached File-=>Added power.h, #21159

    Back to the top


    Powered by Savane 3.1-cleanup1