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

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

[avr-libc-dev] [bug #20530] Bug in sample code for early wdt disable


From: Harald Kipp
Subject: [avr-libc-dev] [bug #20530] Bug in sample code for early wdt disable
Date: Thu, 19 Jul 2007 09:05:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

URL:
  <http://savannah.nongnu.org/bugs/?20530>

                 Summary: Bug in sample code for early wdt disable
                 Project: AVR C Runtime Library
            Submitted by: haraldkipp
            Submitted on: Thursday 07/19/2007 at 11:05
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The sample code given in include/avr/wdt.h doesn't take into account, that
the global variable will be cleared in .init4. Adding the section attribute
.noinit will fix this.

uint8_t mcusr_mirror __attribute__ ((section (".noinit")));





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20530>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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