AVR Studio crash when compiling usbdrv

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
honda4life
Posts: 4
Joined: Sat Jun 20, 2009 11:05 am

AVR Studio crash when compiling usbdrv

Post by honda4life » Thu Sep 17, 2009 3:21 pm

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

maxi
Rank 3
Rank 3
Posts: 122
Joined: Fri Jul 24, 2009 6:13 pm

Re: AVR Studio crash when compiling usbdrv

Post by maxi » Thu Sep 17, 2009 6:43 pm

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.

Post Reply