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

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

[avr-libc-commit] [2409] bug #40595: update high fuse byte definitions f


From: Pitchumani
Subject: [avr-libc-commit] [2409] bug #40595: update high fuse byte definitions for tiny2313a and tiny4313
Date: Tue, 18 Mar 2014 10:06:04 +0000

Revision: 2409
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2409
Author:   pitchumani
Date:     2014-03-18 10:06:03 +0000 (Tue, 18 Mar 2014)
Log Message:
-----------
bug #40595: update high fuse byte definitions for tiny2313a and tiny4313

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

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

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2014-03-18 08:56:20 UTC (rev 2408)
+++ trunk/avr-libc/ChangeLog    2014-03-18 10:06:03 UTC (rev 2409)
@@ -1,6 +1,13 @@
 2014-03-18  Pitchumani Sivanupandi <address@hidden>
 
        Submitted by Vishnu KS
+       Fix for bug #40595: iotn2313a.h: wrong fuses definitions for High Fuse 
Byte
+       * include/avr/iotn2313a.h: Update high fuse byte definitions.
+       * include/avr/iotn4313.h: Same.
+
+2014-03-18  Pitchumani Sivanupandi <address@hidden>
+
+       Submitted by Vishnu KS
        Fix for bug #41519: wrong SPM_PAGESIZE definition in iotn[48]8.h
        * include/avr/iotn48.h: update SPM_PAGESIZE to 64
        * include/avr/iotn88.h: Same.

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2014-03-18 08:56:20 UTC (rev 2408)
+++ trunk/avr-libc/NEWS 2014-03-18 10:06:03 UTC (rev 2409)
@@ -13,6 +13,7 @@
   [#37778] _MemoryBarrier() in cpufunc.h error on compile
   [#38135] Install a dummy stdfix-avrlibc.h
   [#39783] CRC missing definitions and incorrect power macros for xmega D3
+  [#40595] iotn2313a.h: wrong fuses definitions for High Fuse Byte
   [#41519] wrong SPM_PAGESIZE definition in iotn[48]8.h
   [no-id]  XXX_vect_num not consistent io90pwmx.h, iousbxx6_7.h
   [no-id]  Specialize clock_prescale_set/get for mega hvb devices

Modified: trunk/avr-libc/include/avr/iotn2313a.h
===================================================================
--- trunk/avr-libc/include/avr/iotn2313a.h      2014-03-18 08:56:20 UTC (rev 
2408)
+++ trunk/avr-libc/include/avr/iotn2313a.h      2014-03-18 10:06:03 UTC (rev 
2409)
@@ -624,14 +624,14 @@
 #define LFUSE_DEFAULT (FUSE_CKDIV8 & FUSE_SUT0 & FUSE_CKSEL3 & FUSE_CKSEL2 & 
FUSE_CKSEL0)
 
 /* High Fuse Byte */
-#define FUSE_BODLEVEL0  (unsigned char)~_BV(0)  /* Brown-out Detector trigger 
level */
-#define FUSE_BODLEVEL1  (unsigned char)~_BV(1)  /* Brown-out Detector trigger 
level */
-#define FUSE_BODLEVEL2  (unsigned char)~_BV(2)  /* Brown-out Detector trigger 
level */
-#define FUSE_EESAVE  (unsigned char)~_BV(3)  /* EEPROM memory is preserved 
through chip erase */
+#define FUSE_RSTDISBL  (unsigned char)~_BV(0)  /* External reset disable */
+#define FUSE_BODLEVEL0  (unsigned char)~_BV(1)  /* Brown-out Detector trigger 
level */
+#define FUSE_BODLEVEL1  (unsigned char)~_BV(2)  /* Brown-out Detector trigger 
level */
+#define FUSE_BODLEVEL2  (unsigned char)~_BV(3)  /* Brown-out Detector trigger 
level */
 #define FUSE_WDTON  (unsigned char)~_BV(4)  /* Watchdog Timer Always On */
 #define FUSE_SPIEN  (unsigned char)~_BV(5)  /* Enable Serial programming and 
Data Downloading */
-#define FUSE_DWEN  (unsigned char)~_BV(6)  /* debugWIRE Enable */
-#define FUSE_RSTDISBL  (unsigned char)~_BV(7)  /* External reset disable */
+#define FUSE_EESAVE  (unsigned char)~_BV(6)  /* EEPROM memory is preserved 
through chip erase */
+#define FUSE_DWEN  (unsigned char)~_BV(7)  /* debugWIRE Enable */
 #define HFUSE_DEFAULT (FUSE_SPIEN)
 
 /* Extended Fuse Byte */

Modified: trunk/avr-libc/include/avr/iotn4313.h
===================================================================
--- trunk/avr-libc/include/avr/iotn4313.h       2014-03-18 08:56:20 UTC (rev 
2408)
+++ trunk/avr-libc/include/avr/iotn4313.h       2014-03-18 10:06:03 UTC (rev 
2409)
@@ -624,14 +624,14 @@
 #define LFUSE_DEFAULT (FUSE_CKDIV8 & FUSE_SUT0 & FUSE_CKSEL3 & FUSE_CKSEL2 & 
FUSE_CKSEL0)
 
 /* High Fuse Byte */
-#define FUSE_BODLEVEL0  (unsigned char)~_BV(0)  /* Brown-out Detector trigger 
level */
-#define FUSE_BODLEVEL1  (unsigned char)~_BV(1)  /* Brown-out Detector trigger 
level */
-#define FUSE_BODLEVEL2  (unsigned char)~_BV(2)  /* Brown-out Detector trigger 
level */
-#define FUSE_EESAVE  (unsigned char)~_BV(3)  /* EEPROM memory is preserved 
through chip erase */
+#define FUSE_RSTDISBL  (unsigned char)~_BV(0)  /* External reset disable */
+#define FUSE_BODLEVEL0  (unsigned char)~_BV(1)  /* Brown-out Detector trigger 
level */
+#define FUSE_BODLEVEL1  (unsigned char)~_BV(2)  /* Brown-out Detector trigger 
level */
+#define FUSE_BODLEVEL2  (unsigned char)~_BV(3)  /* Brown-out Detector trigger 
level */
 #define FUSE_WDTON  (unsigned char)~_BV(4)  /* Watchdog Timer Always On */
 #define FUSE_SPIEN  (unsigned char)~_BV(5)  /* Enable Serial programming and 
Data Downloading */
-#define FUSE_DWEN  (unsigned char)~_BV(6)  /* debugWIRE Enable */
-#define FUSE_RSTDISBL  (unsigned char)~_BV(7)  /* External reset disable */
+#define FUSE_EESAVE  (unsigned char)~_BV(6)  /* EEPROM memory is preserved 
through chip erase */
+#define FUSE_DWEN  (unsigned char)~_BV(7)  /* debugWIRE Enable */
 #define HFUSE_DEFAULT (FUSE_SPIEN)
 
 /* Extended Fuse Byte */




reply via email to

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