[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] sleep mode error on SM bit

From: Ezio Balbo
Subject: [avr-gcc-list] sleep mode error on SM bit
Date: Mon, 23 Jun 2003 12:27:39 +0200

I have istalled on a linux-mandrake all the rpms binary packages in /usr/avr
and WinAVR-20030424-bin-install on a windows based pc from
In the main file I call the function "set_sleep_mode(SLEEP_MODE_PWR_DOWN)"
( avr-g++ -g -Wall -fno-exceptions -Os -mmcu=at90s8515    -c -o main.o main.c )
I see a compiler error only on the linux pc like this: SM not defined.
Can anyone halp me?


Ezio Balbo
Ravioli s.p.a. - Electric & Electronic devices
Via Passo Pordoi,4 - Milan - Italy
phone: +39.02.536301
fax: +39.02.536305

reply via email to

[Prev in Thread] Current Thread [Next in Thread]