avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [patch #8557] Proposing to remove device specific xmega m


From: Soundararajan Dhakshinamoorthy
Subject: [avr-libc-dev] [patch #8557] Proposing to remove device specific xmega macros from sleep.h
Date: Tue, 14 Oct 2014 19:22:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.nongnu.org/patch/?8557>

                 Summary: Proposing to remove device specific xmega macros
from sleep.h
                 Project: AVR C Runtime Library
            Submitted by: soundararajan
            Submitted on: Tue 14 Oct 2014 07:22:26 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

The sleep.h file has a list of conditions using device (xmega in particular)
macros, that is used to define the appropriate sleep modes and implement the
set_sleep_mode macro. 

It seems that ALL the xmega devices have the same set of sleep modes (and
corresponding bit positions) and the set_sleep_mode implementation. The
attached patch (remove_xmega_specifics.patch) removes the individual device
macros and adds the __AVR_XMEGA__ macro instead.

Note : Attached ChangeLog to preserve formatting.

Requesting to review the change and approve/comment.

Thanks
Soundararajan



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 14 Oct 2014 07:22:26 PM GMT  Name: remove_xmega_specifics.patch 
Size: 2kB   By: soundararajan

<http://savannah.nongnu.org/patch/download.php?file_id=32274>
-------------------------------------------------------
Date: Tue 14 Oct 2014 07:22:26 PM GMT  Name: ChangeLog  Size: 268B   By:
soundararajan

<http://savannah.nongnu.org/patch/download.php?file_id=32275>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8557>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]