please watch this topic , i am using atmel studio 6 for compiling my project .
http://forums.obdev.at/viewtopic.php?f=8&t=6774
Search found 5 matches
- Tue Jul 10, 2012 11:46 pm
- Forum: V-USB
- Topic: AtmelStudio6
- Replies: 7
- Views: 10182
- Tue Jul 10, 2012 11:42 pm
- Forum: V-USB
- Topic: AtmelStudio6
- Replies: 7
- Views: 10182
Re: AtmelStudio6
simply add a const before variables
for example:
to
for example:
Code: Select all
char usbDescriptorDevice[];
to
Code: Select all
const char usbDescriptorDevice[];
- Tue Jul 10, 2012 11:29 pm
- Forum: V-USB
- Topic: atmel studio 6 and v-usb
- Replies: 2
- Views: 5858
Re: atmel studio 6 and v-usb
i created a new project and copied every thing to project folder and included only usbdrv.c not usbdrv.h and now build succeed ??
now my question is that what happen if i don't include usbdrv.h??
please help me
now my question is that what happen if i don't include usbdrv.h??
please help me
- Tue Jul 10, 2012 9:43 pm
- Forum: V-USB
- Topic: atmel studio 6 and v-usb
- Replies: 2
- Views: 5858
Re: atmel studio 6 and v-usb
i included usbdrv.h usbdrv.c and added usbdrvasm.s to project and now :
error : invalid conversion from 'void*' to 'usbRequest_t* {aka usbRequest*}' [-fpermissive]
what is the problem?
error : invalid conversion from 'void*' to 'usbRequest_t* {aka usbRequest*}' [-fpermissive]
what is the problem?
- Sun Jul 08, 2012 11:17 pm
- Forum: V-USB
- Topic: atmel studio 6 and v-usb
- Replies: 2
- Views: 5858
atmel studio 6 and v-usb
hi i want to use atmel studio 6 to compile v-usb project. i created a new project > gcc c executable project device > atmega8a and here is my code #define F_CPU 12000000 #include <avr/io.h> #include "usbdrv.h" #include <avr/interrupt.h> #include <avr/wdt.h> #include <util/delay.h> #define ...