bugAVR C Runtime Library - Bugs: bug #20530, Bug in sample code for early wdt...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20530: Bug in sample code for early wdt disable

Submitter:  Harald Kipp <haraldkipp>
Submitted:  Thu 19 Jul 2007 09:05:10 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  Documentation
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

Thu 19 Jul 2007 09:05:10 AM UTC, original submission:  

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")));

Harald Kipp <haraldkipp>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by haraldkipp (Submitted the item)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-30 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2007-09-12 arcanum Priority5 - Normal 9 - Immediate
    2007-07-19 haraldkipp Carbon-Copy- Added haraldkipp

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code