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/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev