| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
| |
of the serial port
|
|
|
|
| |
never get re-enabled.
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
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'
|
|
|
|
| |
virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
|
| |
|
|
|
|
| |
handling of get/send data callbacks and toggle line state. completely undebugged for now.
|
|
|
|
| |
undefined macros in the usb descriptor files
|
|
|
|
| |
the device it can actually report "LeafLabs Maple R3"
|
|
|
|
| |
was great). Still need to flesh out quite a few macros that were referenced but never defined.
|
|
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
|