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

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

[avr-libc-commit] [2248] Reported by Heike C.


From: Joerg Wunsch
Subject: [avr-libc-commit] [2248] Reported by Heike C.
Date: Mon, 23 May 2011 19:54:33 +0000

Revision: 2248
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2248
Author:   joerg_wunsch
Date:     2011-05-23 19:54:32 +0000 (Mon, 23 May 2011)
Log Message:
-----------
Reported by Heike C. Zimmerer:
patch #7362: iom16a.h: USART vectors inconsistently named
for ATmega16A
* include/avr/iom16a.h: Add backwards-compatible USART
interrupt vector names.

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

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

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2011-05-23 19:39:56 UTC (rev 2247)
+++ trunk/avr-libc/ChangeLog    2011-05-23 19:54:32 UTC (rev 2248)
@@ -1,5 +1,13 @@
 2011-05-23  Joerg Wunsch <address@hidden>
 
+       Reported by Heike C. Zimmerer:
+       patch #7362: iom16a.h: USART vectors inconsistently named
+       for ATmega16A
+       * include/avr/iom16a.h: Add backwards-compatible USART
+       interrupt vector names.
+
+2011-05-23  Joerg Wunsch <address@hidden>
+
        Reported by Palauqui Georges:
        patch #7531: Bad name of bit in TCCR0A : WGM0 instead of CTC0
        for ATtinyX61

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2011-05-23 19:39:56 UTC (rev 2247)
+++ trunk/avr-libc/NEWS 2011-05-23 19:54:32 UTC (rev 2248)
@@ -22,6 +22,7 @@
 * Contributed Patches:
 
   [#7531] Bad name of bit in TCCR0A : WGM0 instead of CTC0 for ATtinyX61
+  [#7362] iom16a.h: USART vectors inconsistently named for ATmega16A
   [#7226] ATMEGA8U2 Patches
 
 * Other changes:

Modified: trunk/avr-libc/include/avr/iom16a.h
===================================================================
--- trunk/avr-libc/include/avr/iom16a.h 2011-05-23 19:39:56 UTC (rev 2247)
+++ trunk/avr-libc/include/avr/iom16a.h 2011-05-23 19:54:32 UTC (rev 2248)
@@ -678,12 +678,24 @@
 #define TIMER0_OVF_vect      _VECTOR(9)  /* Timer/Counter0 Overflow */
 #define SPISTC_vect_num  10
 #define SPISTC_vect      _VECTOR(10)  /* Serial Transfer Complete */
+
+/* The following vectors use an inconsistent (to the ATmega16 etc.)
+   naming scheme.  The inconsistent names are preserved here for softwares
+   that already use them: */
 #define USARTRXC_vect_num  11
 #define USARTRXC_vect      _VECTOR(11)  /* USART, Rx Complete */
 #define USARTUDRE_vect_num  12
 #define USARTUDRE_vect      _VECTOR(12)  /* USART Data Register Empty */
 #define USARTTXC_vect_num  13
 #define USARTTXC_vect      _VECTOR(13)  /* USART, Tx Complete */
+/* The "classic" designators: */
+#define USART_RXC_vect_num  11
+#define USART_RXC_vect      _VECTOR(11)  /* USART, Rx Complete */
+#define USART_UDRE_vect_num  12
+#define USART_UDRE_vect      _VECTOR(12)  /* USART Data Register Empty */
+#define USART_TXC_vect_num  13
+#define USART_TXC_vect      _VECTOR(13)  /* USART, Tx Complete */
+
 #define ADC_vect_num  14
 #define ADC_vect      _VECTOR(14)  /* ADC Conversion Complete */
 #define EE_RDY_vect_num  15




reply via email to

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