aboutsummaryrefslogtreecommitdiffstats
path: root/core/usb
Commit message (Collapse)AuthorAgeFilesLines
* theres still a remaining bug whereby fast consecutive read/writes to serial ↵AJM2010-05-201-5/+6
| | | | might crash the fifo, but other than that it seems to work. see usbSendHello for an example. include usb.h in your application, and call setupUSB() to turn everything on.
* FINALLY figured out the tx/rx bugs, so the whole stack is officially ↵AJM2010-05-203-14/+19
| | | | working. for future reference its ESSENTIAL that you set the EPNUM flag of the global device struct appropriately regardless of whether or not you enable or configure more endpoints.
* finally got TX working without any delay, there is some weird timing ↵AJM2010-05-208-23/+149
| | | | 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-2018-270/+406
| | | | virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
* added virtual com port echoing as the test configuration for the usb serial codeAJM2010-05-201-1/+17
|
* finished the entire low level usb app for virtual com minus the precise ↵AJM2010-05-2010-87/+911
| | | | 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-203-7/+50
| | | | undefined macros in the usb descriptor files
* added the string descriptors to the descriptor set so that when you plug in ↵AJM2010-05-202-2/+49
| | | | the device it can actually report "LeafLabs Maple R3"
* Added the virtual com port descriptors based on the LUFA/MYUsb model (which ↵AJM2010-05-202-0/+210
| | | | was great). Still need to flesh out quite a few macros that were referenced but never defined.
* added the skeleton dir for the usb application lib, since were still ↵AJM2010-05-2017-0/+3522
dependent on st for low level access, the entire usb stack lives in the core application level (not in libmaple). the next project should be to include some low level usb stack in the libmaple