avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Problem with avr-libc


From: Torsten Hahn
Subject: [avr-gcc-list] Problem with avr-libc
Date: Sun, 7 Oct 2001 13:01:40 +0200

Hi,

if i trie to compile a pice of code like this

--
#include <io-avr.h>
#include <interrupt.h>
#include <sig-avr.h>

#define LED 7;

SIGNAL (SIG_INTERRUPT0)
{
        loop_until_bit_is_set(PORTB,LED);
}
--

i get always an error Message meaning:

avr-gcc -O3 -I/usr/local/avr/include -mmcu=at90s8535 ledon.c -o ledon.o
ledon.c: In function `_interrupt0_':
ledon.c:24: parse error before ';' token

This happens also, if i try any other Macro defined in iomacros.h from the 
avr-libc distribution.

Any Ideas whats going wrong ?

Torsten.
-- 
Torsten Hahn / Chemnitzer Str. 4 / 09599 Freiberg / Germany
mail: address@hidden
phone: (+49) 177 2181338
pgp key avaiable at: http://math-www.uni-paderborn.de/pgpnet/wwwkeys.html



reply via email to

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