Kevin Mehall's USB stack

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Has anyone got Kevin Mehall's USB stack working? It's based on the nonolith one I think.

 

https://github.com/kevinmehall/usb

 

I've imported it into Atmel Studio and set it up for a known-working 128A3U board, but it won't enumerate. Has anyone else tried it?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have you tried contacting him via GitHub ?

 

Is this you, then: https://github.com/kevinmehall/usb/issues/7 ?

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, I asked there too.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

The secret sauce was -fno-jump-tables. I thought that was fixed in gcc now, but whatever... A basic set up comes out at 2082 bytes, meaning a 4k bootloader is now looking entirely doable.