5 Commits

Author SHA1 Message Date
Jared Boone
e8b30f3489 Oops. Request handlers called from setup handler could access the IN side of the endpoint, which does not get a copy of the SETUP bytes.
TODO: Make a single copy of the SETUP bytes, and provide a clean way to access those bytes regardless of whether you're holding the IN or OUT endpoint. (This was a problem in the IN complete handler, and probably other places, too.)
2012-10-18 19:42:36 -07:00
Jared Boone
5dbbae6d9c Removed unused functions to silence warnings. 2012-10-10 16:14:22 -07:00
Jared Boone
165997d09b Changed USB queue head and transfer descriptor attributes to be explicitly aligned, instead of targeting a section.
Added miscellaneous internal USB functions.
Improved disabling of endpoints -- now clearing pending interrupts and flushing as well.
2012-10-10 14:39:03 -07:00
Jared Boone
aff5cc0c69 Oops, forgot license header on new files... 2012-10-06 19:11:19 -07:00
Jared Boone
3451a3c3d8 Tons of new USB code. It should eventually migrate into common, or even libopencm3, once it's not a steaming pile of crap... 2012-10-06 18:58:18 -07:00