aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/PluggableUSB.cpp
AgeCommit message (Collapse)Author
2015-10-12[PUSB] Renamed PUSBListNode to PluggableUSBModuleCristian Maglie
2015-10-07[PUSB] Made getDescriptor() and setup() more flexibleNicoHood
Alternatively we can only pass the wIndex to getDescriptor but I suggest to just pass the pointer aka reference of the whole setup. In guess (havent tested this) that this results in more or less the code size but its a) idential with the other functions and b) we late have more flexibility here. The Code got a quick SerialKeyboard.ino test
2015-10-07[PUSB] renamed some parametersCristian Maglie
2015-10-07Small return value error check correctionNicoHood
2015-10-02[PUSB] Fix static initialization order fiascoMartino Facchin
For details see: https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use
2015-10-02[PUSB] Fixed checks on return valuesCristian Maglie
2015-10-02[PUSB] Fixed the correct number of endpointsCristian Maglie
2015-10-02[PUSB] Fixed check for available endpointsCristian Maglie
The check for available slot in PluggableUSB is done on the endpoint and not on the number of plugged modules. The modulesCount field is no longer useful and it has been removed.
2015-10-02[PUSB] No more static fields in PluggableUSB classCristian Maglie
2015-10-02[PUSB] replaced u8 with uint8_tCristian Maglie
2015-10-02[PUSB] Selected interface and endpoint are now part of PUSBListNodeCristian Maglie
The method int8_t PluggableUSB::addFunction(PUSBListNode *, uint8_t *) has been changed to bool PluggableUSB::plug(PUSBListNode *node) since both EP and Interfaces are now saved directly into node
2015-10-02[PUSB] Global functions PUSB_* are now methods of PluggableUSB classCristian Maglie
2015-10-02[PUSB] PUSBCallback struct has been merged into PUSBListNodeCristian Maglie
This slightly simplifies PluggableUSB API.
2015-07-16fix pluggableUSB linked listMartino Facchin
2015-07-16rename Setup typedef struct to USBSetupMartino Facchin
was really too common
2015-07-16fix HID descriptors bigger than 127 bytesMartino Facchin
2015-07-16rework PUSBCallbacks initializationMartino Facchin
2015-07-16add numInterfaces field to PUSBCallbacksMartino Facchin
2015-07-16implement PUSB modules as linked listMartino Facchin
2015-07-16remove useless variablesMartino Facchin
2015-07-16add PluggableUSB moduleMartino Facchin