[Top][All Lists]

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

[avr-gcc-list] Compile Error

From: Le, Tri, D (GE Healthcare)
Subject: [avr-gcc-list] Compile Error
Date: Fri, 2 May 2008 16:42:17 -0400

I tried to modify an old software that was implemented for AT90S4433 to make it works with its replacement ATmega48. I got the following errors when compiled using AVR_GCC:

../ATmega48_RAB.c:220: error: '__vector_11' undeclared here (not in a function)
../ATmega48_RAB.c:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'

which pointed to the interrupt function:

interrupt [INT0_vect] void INT0_interrupt(void)

../ATmega48_RAB.c:207: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'
../ATmega48_RAB.c:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned'

Which pointer to

extern flash unsigned short __checksum;
flash unsigned short zero=0;


What do I have to change to fix this compile errors.

Thank you.

reply via email to

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