Hi all
I am simply trying to compile the hid-data example provided with the v-usb files. I keep getting the error below but do not know where to specify this frequency. Can simply defining F_CPU remove this error if its defined in the right location or can I just remove the error message and make sure my chip runs at the right frequency?
error: "USB_CFG_CLOCK_KHZ is not one of the supported non-crc-rates!"
I would greatly appreciate any help
Cheers
Where is clock frequency defined?
Re: Where is clock frequency defined?
For the example projects F_CPU is set in the makefile. Some other projects may define it in the source code, usually in usbconfig.h.
-
- Posts: 2
- Joined: Tue Nov 17, 2009 2:06 pm
Re: Where is clock frequency defined?
Thanks for your help, it worked