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

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

[avr-libc-commit] [2245] 2011-05-12 Eric B.


From: Eric Weddington
Subject: [avr-libc-commit] [2245] 2011-05-12 Eric B.
Date: Thu, 12 May 2011 22:42:22 +0000

Revision: 2245
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2245
Author:   arcanum
Date:     2011-05-12 22:42:21 +0000 (Thu, 12 May 2011)
Log Message:
-----------
2011-05-12  Eric B. Weddington  <address@hidden>

        Patch #7226. Thanks to Avik Juneja for the patch.
        * include/avr/iom8u2.h: Add UPOE register definition and bits.
        * include/avr/power.h: Add ATmega8u2-16u2-32u2 devices in conditional.
        * NEWS: Add to contributed patches list.

Ticket Links:
------------
    http://savannah.gnu.org/patch/?7226

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/NEWS
    trunk/avr-libc/include/avr/iom8u2.h
    trunk/avr-libc/include/avr/power.h

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2011-05-12 03:33:42 UTC (rev 2244)
+++ trunk/avr-libc/ChangeLog    2011-05-12 22:42:21 UTC (rev 2245)
@@ -1,3 +1,10 @@
+2011-05-12  Eric B. Weddington  <address@hidden>
+
+       Patch #7226. Thanks to Avik Juneja for the patch.
+       * include/avr/iom8u2.h: Add UPOE register definition and bits.
+       * include/avr/power.h: Add ATmega8u2-16u2-32u2 devices in conditional.
+       * NEWS: Add to contributed patches list.
+
 2011-05-11  Eric B. Weddington  <address@hidden>
 
        Fix for bug #33130. Thanks to Antoine Mercier-Linteau for the patch.

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2011-05-12 03:33:42 UTC (rev 2244)
+++ trunk/avr-libc/NEWS 2011-05-12 22:42:21 UTC (rev 2245)
@@ -20,6 +20,8 @@
 
 * Contributed Patches:
 
+  [#7226] ATMEGA8U2 Patches
+
 * Other changes:
 
   - Optimized strlen_P, thanks to Jan Waclawek. Rename strlen_P to be 
__strlen_P

Modified: trunk/avr-libc/include/avr/iom8u2.h
===================================================================
--- trunk/avr-libc/include/avr/iom8u2.h 2011-05-12 03:33:42 UTC (rev 2244)
+++ trunk/avr-libc/include/avr/iom8u2.h 2011-05-12 22:42:21 UTC (rev 2245)
@@ -840,7 +840,17 @@
 #define EPINT3 3
 #define EPINT4 4
 
+#define UPOE    _SFR_MEM8(0XFB)
+#define UPWE1   7
+#define UPWE0   6
+#define UPDRV1  5
+#define UPDRV0  4
+#define SCKI    3
+#define DATAI   2
+#define DPI     1
+#define DMI     0
 
+
 /* Interrupt vectors */
 /* Vector 0 is the reset vector */
 #define INT0_vect_num  1

Modified: trunk/avr-libc/include/avr/power.h
===================================================================
--- trunk/avr-libc/include/avr/power.h  2011-05-12 03:33:42 UTC (rev 2244)
+++ trunk/avr-libc/include/avr/power.h  2011-05-12 22:42:21 UTC (rev 2245)
@@ -1421,6 +1421,9 @@
 || defined(__AVR_ATmega6490P__) \
 || defined(__AVR_ATmega88__) \
 || defined(__AVR_ATmega88P__) \
+|| defined(__AVR_ATmega8U2__) \
+|| defined(__AVR_ATmega16U2__) \
+|| defined(__AVR_ATmega32U2__) \
 || defined(__AVR_ATtiny48__) \
 || defined(__AVR_ATtiny167__) \
 || defined(__DOXYGEN__)




reply via email to

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