Hello,
i want to make HID device. I haven't got any problems with configuration that library, but when i want to compile i take ERROR from compiler like:
1. "../usbdrv/usbdrv.c:251: undefined reference to `usbFunctionWrite'"
2. "../usbdrv/usbdrv.c:240: undefined reference to `usbCrc16'"
I am searching that procedures, but I not have that to this day.
Where I can find that procedures?
Sorry for my language
[ATmega16 + AVRGCC] USB HID = Undefined procedure
usbFunctionWrite() should be defined in your own code. It is called by the driver when control data is received. See the documentation in usbdrv.h for details.
usbCrc16() is defined in the assembler module. If the linker does not find it, you don't link usbdrvasm.S. Add this file to your project or makefile.
usbCrc16() is defined in the assembler module. If the linker does not find it, you don't link usbdrvasm.S. Add this file to your project or makefile.