problem in porting v-usb hid_data example to xmega
Posted: Wed Apr 27, 2011 5:44 pm
I tried to port the hid_data example provided with the v-usb to atxmega128a1.
But I got a series of errors.
usbdrv/usbdrv.c: In function ‘usbPoll’:
usbdrv/usbdrv.c:592: error: ‘PIND’ undeclared (first use in this function)
usbdrv/usbdrv.c:592: error: (Each undeclared identifier is reported only once
usbdrv/usbdrv.c:592: error: for each function it appears in.)
usbdrv/usbdrv.c: In function ‘usbInit’:
usbdrv/usbdrv.c:610: error: ‘MCUCR’ undeclared (first use in this function)
usbdrv/usbdrv.c:610: error: ‘ISC00’ undeclared (first use in this function)
usbdrv/usbdrv.c:610: error: ‘ISC01’ undeclared (first use in this function)
usbdrv/usbdrv.c:615: error: ‘GICR’ undeclared (first use in this function)
usbdrv/usbdrv.c:615: error: ‘INT0’ undeclared (first use in this function)
make: *** [usbdrv/usbdrv.o] Error 1
Please help me to solve the issue.
But I got a series of errors.
usbdrv/usbdrv.c: In function ‘usbPoll’:
usbdrv/usbdrv.c:592: error: ‘PIND’ undeclared (first use in this function)
usbdrv/usbdrv.c:592: error: (Each undeclared identifier is reported only once
usbdrv/usbdrv.c:592: error: for each function it appears in.)
usbdrv/usbdrv.c: In function ‘usbInit’:
usbdrv/usbdrv.c:610: error: ‘MCUCR’ undeclared (first use in this function)
usbdrv/usbdrv.c:610: error: ‘ISC00’ undeclared (first use in this function)
usbdrv/usbdrv.c:610: error: ‘ISC01’ undeclared (first use in this function)
usbdrv/usbdrv.c:615: error: ‘GICR’ undeclared (first use in this function)
usbdrv/usbdrv.c:615: error: ‘INT0’ undeclared (first use in this function)
make: *** [usbdrv/usbdrv.o] Error 1
Please help me to solve the issue.