aboutsummaryrefslogtreecommitdiffstats
path: root/core/usb/descriptors.h
Commit message (Collapse)AuthorAgeFilesLines
* moved the usb directory to its proper home in ./libmapleAJM2010-05-201-202/+0
| | | | also, removed some old usb file, bootVect.h, which setup the static table for the runtime usb lib that no longer exists and was provided by the bootloader rev 1
* finally got TX working without any delay, there is some weird timing ↵AJM2010-05-201-3/+3
| | | | involved in what happens when the line state is toggled (host port disconnected) and theres still data waiting to go out, this will hang any while(txCount != 0) calls. similarly, sending data without checking txCount != 0 will hard fault the chip. This is all handled now by usbSendBytes, which returns -1 for unconnected, and 0 for simply 'waiting to send'
* c++ ified all of the usb_core files, added the auto-reset feature to the ↵AJM2010-05-201-20/+105
| | | | virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
* finished the entire low level usb app for virtual com minus the precise ↵AJM2010-05-201-0/+8
| | | | handling of get/send data callbacks and toggle line state. completely undebugged for now.
* added the usb_config file for general setup settings and filled out any ↵AJM2010-05-201-2/+15
| | | | undefined macros in the usb descriptor files
* added the string descriptors to the descriptor set so that when you plug in ↵AJM2010-05-201-1/+9
| | | | the device it can actually report "LeafLabs Maple R3"
* Added the virtual com port descriptors based on the LUFA/MYUsb model (which ↵AJM2010-05-201-0/+88
was great). Still need to flesh out quite a few macros that were referenced but never defined.