Compiler problem Mega88 vs. 88P
Posted: Wed Jul 28, 2010 11:10 am
Hi,
I have just downloaded the latest V-USB drivers and built a little example for a Mega88.
I compile the example using gcc in AVRStudio4.
Everything works fine if I compile for the Atmega88.
BUT: If I try to compile the same code for the Atmega88P (Pee!!!) I get a whole bunch of error messages:
What am I doing wrong?
Thanks, Tom
I have just downloaded the latest V-USB drivers and built a little example for a Mega88.
I compile the example using gcc in AVRStudio4.
Everything works fine if I compile for the Atmega88.
BUT: If I try to compile the same code for the Atmega88P (Pee!!!) I get a whole bunch of error messages:
../usbdrv/usbdrv.c: In function 'usbInit':
../usbdrv/usbdrv.c:615: error: 'EIMSK' undeclared (first use in this function)
../usbdrv/usbdrv.c:615: error: (Each undeclared identifier is reported only once
../usbdrv/usbdrv.c:615: error: for each function it appears in.)
../usbdrv/usbdrv.c:615: error: 'INT1' undeclared (first use in this function)
...
What am I doing wrong?
Thanks, Tom