Hi
I created a project in AVR Studio and copied the files to the directory and added usbdrv.c and usbdrvasm.S as described in other topics. I also set my frequency in the project settings.
It works, but is much faster than compiled via MingW and the circle is much bigger. Any ideas why?
HID-Mouse compiled in AVR Studio ... very fast
Re: HID-Mouse compiled in AVR Studio ... very fast
How did you get MingW to compile code that works on an AVR???
Re: HID-Mouse compiled in AVR Studio ... very fast
I think one possible reason is that the avr-binutil tool chain optimizes differently from the other compiler, resulting in faster code
Re: HID-Mouse compiled in AVR Studio ... very fast
Hi
I used the steps some steps in the reply of this post: http://forums.obdev.at/viewtopic.php?f=8&t=4749&p=15603&hilit=mingw#p15603
Although I realize now it might not be mingw but the gcc with winavr. All I do is call:
make hex Makefile
from the command line and it compiles a hex file. Clarification would be helpful here.
I used the steps some steps in the reply of this post: http://forums.obdev.at/viewtopic.php?f=8&t=4749&p=15603&hilit=mingw#p15603
Although I realize now it might not be mingw but the gcc with winavr. All I do is call:
make hex Makefile
from the command line and it compiles a hex file. Clarification would be helpful here.