[En-Nut-Discussion] WinAVR-20080512 -- same error as 20080411
Ole Reinhardt
ole.reinhardt at embedded-it.de
Tue May 20 22:43:00 CEST 2008
Hi,
> Running XP (sp3) on a P4 2.8 Ghz, 504 MB RAM. Installed WinAVR-20080512. Trying to compile Ethernut-4.4.1 with ethernut21b.conf using WinAVR.
> I also get the _SLEEP_MODE_MASK undeclared error.
I added the following line to include/arch/avr/gcc.h:
#ifndef _SLEEP_MODE_MASK
#define _SLEEP_MODE_MASK (~(_BV(SM0) | _BV(SM1) | _BV(SM2)))
#endif
This is only a dirty hack. Better one should know how this mask is named
in newer avrlibc versions. Up to know I don't know a better solution :/
Regards,
Ole Reinhardt
--
_____________________________________________________________
| |
| Embedded-IT Hard- und Softwarelösungen |
| |
| Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
| Luisenstraße 29 Mobil: +49 (0)177 7420433 |
| 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
| Germany Web: http://www.embedded-it.de |
| UstID / VAT: DE198944716 |
|_____________________________________________________________|
More information about the En-Nut-Discussion
mailing list