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

 
 

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

Submitted by:  Harald Kipp <haraldkipp>
Submitted on:  Thu 19 Jul 2007 09:05:10 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Documentation
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 30 Oct 2007 09:57:47 AM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Wed 12 Sep 2007 08:45:45 PM UTCarcanumPriority5 - Normal=>9 - Immediate
    Thu 19 Jul 2007 09:05:10 AM UTCharaldkippCarbon-Copy-=>Added haraldkipp

    Back to the top


    Powered by Savane 3.1-cleanup1