AVR USB ASM

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
n01x
Posts: 2
Joined: Mon Mar 17, 2008 12:18 pm

AVR USB ASM

Post by n01x » Mon Mar 17, 2008 12:21 pm

Hi,


Any idea how to initialize an usb (using obdev avr-usb driver) in assembler?
An example code is welcome :)

n01x
Posts: 2
Joined: Mon Mar 17, 2008 12:18 pm

Post by n01x » Thu Mar 20, 2008 10:41 am

anybody?

Grendel
Rank 4
Rank 4
Posts: 167
Joined: Sat Dec 16, 2006 9:53 pm
Location: Oregon, USA
Contact:

Post by Grendel » Fri Mar 21, 2008 12:05 am

Take a look at the code generated by the GNU compiler. But then, you can as well add a small main() function and call your assembler code from there..

Post Reply