Page 1 of 1

AVR Studio crash when compiling usbdrv

Posted: Thu Sep 17, 2009 3:21 pm
by honda4life
Hello everyone,

Probably a noob question but I can't compile usbdrv with AVR Studio 4.16
Maybe i've included files the wrong way I have after one hour searching absolutely no idea.
I've included my project file, but when you compile the project file become corrupt also.
Also tried to change usbconfig-prototype > usbconfig without result.
For who compiled it before with AVR Studio, this only takes 5 minutes so please help me.

Here's my uncompiled project (all original V-USB files): http://home.scarlet.be/~tsg80011/V-USB.zip

Maybe the screenshot says enough (tried with and without prototype!):

Image

Re: AVR Studio crash when compiling usbdrv

Posted: Thu Sep 17, 2009 6:43 pm
by maxi
You do need to rename usbconfig-prototype.h to usbconfig.h and you will need to include some code of your own, function main() at the very minimum. IIRC the CDC example project came with .aps project files, take a look at that for a good example of how to setup AVR-Studio for V-USB.