[En-Nut-Discussion] WinAVR-20080512 -- same error as 20080411

Harald Kipp harald.kipp at egnite.de
Mon Jun 16 14:52:44 CEST 2008


Thiago A. Corrêa wrote:
> 
> /* Define internal _SLEEP_MODE_MASK that is no longer public in avrlibc. */
> #ifndef _SLEEP_MODE_MASK
> #if defined(SM) && !defined(SM0) && !defined(SM1) && !defined(SM2)
> 
> #define _SLEEP_MODE_MASK _BV(SM)
> 
> #elif !defined(SM) && defined(SM0) && defined(SM1) && !defined(SM2)
> 
> #define _SLEEP_MODE_MASK (_BV(SM0) | _BV(SM1))
> 
> #elif !defined(SM) && defined(SM0) && defined(SM1) && defined(SM2)
> 
> #define _SLEEP_MODE_MASK (_BV(SM0) | _BV(SM1) | _BV(SM2))
> 
> #endif
> #endif
> 


After upgrading to WinAVR-20080610 I faced the same problem and will 
commit this today. Further I temporarily removed wlandrv.c from the build.

Harald



More information about the En-Nut-Discussion mailing list