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

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

[avr-libc-commit] [2478] bug #44279: Update USB_TRNCOMPL vector number f


From: Pitchumani
Subject: [avr-libc-commit] [2478] bug #44279: Update USB_TRNCOMPL vector number for ATxmega64/128A1U.
Date: Mon, 22 Jun 2015 06:09:29 +0000

Revision: 2478
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2478
Author:   pitchumani
Date:     2015-06-22 06:09:27 +0000 (Mon, 22 Jun 2015)
Log Message:
-----------
bug #44279: Update USB_TRNCOMPL vector number for ATxmega64/128A1U. bug #44977: 
Add missing members to CRC_t and PORT_t of ATxmega64/128A1U

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?44279
    http://savannah.gnu.org/bugs/?44977

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

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2015-06-19 13:22:24 UTC (rev 2477)
+++ trunk/avr-libc/ChangeLog    2015-06-22 06:09:27 UTC (rev 2478)
@@ -1,3 +1,15 @@
+2015-06-22  Jethro <address@hidden>
+            Pitchumani Sivanupandi <address@hidden>
+
+       bug #44977: Incorrect PORT_t and CRC_t definitions for ATxmega64A1U
+       and 128A1U
+       bug #44279: incorrect USB_TRNCOMPL_vect_num in iox64a1u.h, iox128a1u.h
+       * include/avr/iox64a1u.h (CRC_t): Add reserved slot as member.
+       (PORT_t): Add member for REMAP.
+       (NVM_EE_vect, NVM_SPM_vect,USB_TRNCOMPL_vect): Update vector number.
+       (_VECTORS_SIZE): Update size.
+       * include/avr/iox128a1u.h: Likewise.
+
 2015-06-19  Pitchumani Sivanupandi <address@hidden>
 
        bug #43011: Bug in struct definition of __reg_UCSR1C and 

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2015-06-19 13:22:24 UTC (rev 2477)
+++ trunk/avr-libc/NEWS 2015-06-22 06:09:27 UTC (rev 2478)
@@ -8,10 +8,12 @@
   [#43011] Bug in struct definition of __reg_UCSR1C and __reg_UCSR0C in 
iom128rfa1.h
   [#43044] memory sections require __attribute__ ((used))
   [#43828] wdt.h: Wrong inline assembler arguments
-  [#44140] wdt_disable() macro clobbers prescaller bits 
+  [#44140] wdt_disable() macro clobbers prescaller bits
+  [#44279] incorrect USB_TRNCOMPL_vect_num in iox64a1u.h, iox128a1u.h
   [#44515] Wrong build option '-mtiny-stack' instead of '-msp8'
   [#44574] Place device-specific libraries in their multilib directory
   [#44869] trunk doesn't work with gcc 5.1.0-RC-20150412
+  [#44977] Incorrect PORT_t and CRC_t definitions for ATxmega64A1U and 128A1U
   [no-id] TC_EVACT_FRQ_gc was misspelled as TC_EVACT_FRW_gc in some Xmega
           header files
 

Modified: trunk/avr-libc/include/avr/iox128a1u.h
===================================================================
--- trunk/avr-libc/include/avr/iox128a1u.h      2015-06-19 13:22:24 UTC (rev 
2477)
+++ trunk/avr-libc/include/avr/iox128a1u.h      2015-06-22 06:09:27 UTC (rev 
2478)
@@ -586,6 +586,7 @@
 {
     register8_t CTRL;  /* CRC Control Register */
     register8_t STATUS;  /* CRC Status Register */
+    register8_t reserved_0x02;
     register8_t DATAIN;  /* CRC Data Input */
     register8_t CHECKSUM0;  /* CRC Checksum byte 0 */
     register8_t CHECKSUM1;  /* CRC Checksum byte 1 */
@@ -2105,6 +2106,7 @@
     register8_t INT1MASK;  /* Port Interrupt 1 Mask */
     register8_t INTFLAGS;  /* Interrupt Flag Register */
     register8_t reserved_0x0D;
+    register8_t REMAP;  /* I/O Port Pin Remap Register */
     register8_t reserved_0x0F;
     register8_t PIN0CTRL;  /* Pin 0 Control Register */
     register8_t PIN1CTRL;  /* Pin 1 Control Register */
@@ -7451,10 +7453,10 @@
 #define AES_INT_vect      _VECTOR(31)  /* AES Interrupt */
 
 /* NVM interrupt vectors */
-#define NVM_SPM_vect_num  32
-#define NVM_SPM_vect      _VECTOR(32)  /* SPM Interrupt */
-#define NVM_EE_vect_num  33
-#define NVM_EE_vect      _VECTOR(33)  /* EE Interrupt */
+#define NVM_EE_vect_num  32
+#define NVM_EE_vect      _VECTOR(32)  /* EE Interrupt */
+#define NVM_SPM_vect_num  33
+#define NVM_SPM_vect      _VECTOR(33)  /* SPM Interrupt */
 
 /* PORTB interrupt vectors */
 #define PORTB_INT0_vect_num  34
@@ -7698,13 +7700,12 @@
 
 /* USB interrupt vectors */
 #define USB_BUSEVENT_vect_num  125
-#define USB_BUSEVENT_vect      _VECTOR(125)  /* SOF, suspend, resume, reset 
bus event interrupts and crc, underflow, overflow and stall error interrupts */
-#define USB_TRNCOMPL_vect_num  127
-#define USB_TRNCOMPL_vect      _VECTOR(127)  /* Transaction complete interrupt 
*/
+#define USB_BUSEVENT_vect      _VECTOR(125)  /* SOF, suspend, resume, reset 
bus event interrupts, crc, underflow, overflow and stall error interrupts */
+#define USB_TRNCOMPL_vect_num  126
+#define USB_TRNCOMPL_vect      _VECTOR(126)  /* Transaction complete interrupt 
*/
 
-
 #define _VECTOR_SIZE 4 /* Size of individual vector. */
-#define _VECTORS_SIZE (128 * _VECTOR_SIZE)
+#define _VECTORS_SIZE (127 * _VECTOR_SIZE)
 
 
 /* ========== Constants ========== */

Modified: trunk/avr-libc/include/avr/iox64a1u.h
===================================================================
--- trunk/avr-libc/include/avr/iox64a1u.h       2015-06-19 13:22:24 UTC (rev 
2477)
+++ trunk/avr-libc/include/avr/iox64a1u.h       2015-06-22 06:09:27 UTC (rev 
2478)
@@ -586,6 +586,7 @@
 {
     register8_t CTRL;  /* CRC Control Register */
     register8_t STATUS;  /* CRC Status Register */
+    register8_t reserved_0x02;
     register8_t DATAIN;  /* CRC Data Input */
     register8_t CHECKSUM0;  /* CRC Checksum byte 0 */
     register8_t CHECKSUM1;  /* CRC Checksum byte 1 */
@@ -2105,6 +2106,7 @@
     register8_t INT1MASK;  /* Port Interrupt 1 Mask */
     register8_t INTFLAGS;  /* Interrupt Flag Register */
     register8_t reserved_0x0D;
+    register8_t REMAP;  /* I/O Port Pin Remap Register */
     register8_t reserved_0x0F;
     register8_t PIN0CTRL;  /* Pin 0 Control Register */
     register8_t PIN1CTRL;  /* Pin 1 Control Register */
@@ -7190,10 +7192,10 @@
 #define AES_INT_vect      _VECTOR(31)  /* AES Interrupt */
 
 /* NVM interrupt vectors */
-#define NVM_SPM_vect_num  32
-#define NVM_SPM_vect      _VECTOR(32)  /* SPM Interrupt */
-#define NVM_EE_vect_num  33
-#define NVM_EE_vect      _VECTOR(33)  /* EE Interrupt */
+#define NVM_EE_vect_num  32
+#define NVM_EE_vect      _VECTOR(32)  /* EE Interrupt */
+#define NVM_SPM_vect_num  33
+#define NVM_SPM_vect      _VECTOR(33)  /* SPM Interrupt */
 
 /* PORTB interrupt vectors */
 #define PORTB_INT0_vect_num  34
@@ -7437,13 +7439,12 @@
 
 /* USB interrupt vectors */
 #define USB_BUSEVENT_vect_num  125
-#define USB_BUSEVENT_vect      _VECTOR(125)  /* SOF, suspend, resume, reset 
bus event interrupts and crc, underflow, overflow and stall error interrupts */
-#define USB_TRNCOMPL_vect_num  127
-#define USB_TRNCOMPL_vect      _VECTOR(127)  /* Transaction complete interrupt 
*/
+#define USB_BUSEVENT_vect      _VECTOR(125)  /* SOF, suspend, resume, reset 
bus event interrupts, crc, underflow, overflow and stall error interrupts */
+#define USB_TRNCOMPL_vect_num  126
+#define USB_TRNCOMPL_vect      _VECTOR(126)  /* Transaction complete interrupt 
*/
 
-
 #define _VECTOR_SIZE 4 /* Size of individual vector. */
-#define _VECTORS_SIZE (128 * _VECTOR_SIZE)
+#define _VECTORS_SIZE (127 * _VECTOR_SIZE)
 
 
 /* ========== Constants ========== */




reply via email to

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