[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] can't compile gcctest9
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] can't compile gcctest9 |
Date: |
Wed, 5 Mar 2003 10:29:37 +0100 (MET) |
"WAKAME, Nobukazu" <address@hidden> wrote:
> Error massage show that "undefined reference to '__inw_atomic' "
It doesn't exist anymore.
http://savannah.nongnu.org/download/avr-libc/doc/avr-libc-user-manual/group__avr__sfr.html
describes what's currently available. If you need to protect 16-bit
IO against interrupt races, put cli()/sei() around them (or if it's
not certain whether the I-bit was currently active or not, save the
state of SREG in a temporary variable).
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/