General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
puffin_juice
- Posts: 2
- Joined: Tue Nov 17, 2009 2:06 pm
Post
by puffin_juice » Tue Nov 17, 2009 2:13 pm
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
-
maxi
- Rank 3

- Posts: 122
- Joined: Fri Jul 24, 2009 6:13 pm
Post
by maxi » Tue Nov 17, 2009 7:34 pm
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.