[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] variable that survives reset?
From: |
Artur Lipowski |
Subject: |
Re: [avr-libc-dev] variable that survives reset? |
Date: |
Tue, 25 Nov 2003 09:28:38 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031124 Thunderbird/0.4a |
Joerg Wunsch wrote:
...
> Well, simpler: the .noinit section. It's described in the manual.
> Of course, noinit means no implied initialization at all, i. e. you
> gotta initialize it yourself at least once (probably depending on
> MCUSR for an external or power-up reset).
You can also give closer look at the .init3 code section to detect reset
condition before avr-libc startup code.
Regards,
--
Artur Lipowski