Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-23 | Merge branch 'arduinoGemmaInterrupts' of https://github.com/agdl/Arduino | Cristian Maglie | |
2015-10-23 | Gemma digitalPinToInterrupt support | Arturo Guadalupi | |
Added support for Arduino Gemma as required in #3929 | |||
2015-10-23 | Increased 32u4 maximum pin number | Nico | |
2015-10-23 | Ethernet digitalPinToInterrupt support | Arturo Guadalupi | |
Added support for Arduino Ethernet as required in #3929 | |||
2015-10-22 | check TWWC (Write Collision Flag) bit after setting TWDR | Sandeep Mistry | |
as suggested by @earlyprogrammer in #2173, to ensure TWDR value is set if there is a write collision | |||
2015-10-22 | release TWI bus right after stop or repeated start is condition | Sandeep Mistry | |
this resolves timing issues seen in #1477 | |||
2015-10-21 | Merge branch 'nativeUSB_serialNumber_due' of ↵ | Cristian Maglie | |
https://github.com/facchinm/Arduino into HEAD | |||
2015-10-21 | Merge remote-tracking branch 'arduino/master' into HEAD | Cristian Maglie | |
2015-10-21 | [USB] use plugged modules name to create iSerial field | Martino Facchin | |
2015-10-12 | [PHID] Fixes protocol on reenumeration | NicoHood | |
2015-10-12 | [HID] renamed HIDDescriptorListNode to HIDSubDescriptor | Cristian Maglie | |
2015-10-12 | [PUSB] Renamed PUSBListNode to PluggableUSBModule | Cristian Maglie | |
2015-10-12 | [HID] made HIDDescriptorListNode.length constant | Cristian Maglie | |
2015-10-11 | [PHID] Added missing GET_IDLE Request | NicoHood | |
2015-10-10 | [PHID] Added some hints for further optional implementations | NicoHood | |
2015-10-10 | Added official HID definitions | NicoHood | |
Since the HID library adds some general HID definitions and structs, it is very useful to also include this in a custom library. If you dupe the information you have problems of redeclaration. Having those defintions inside the official HID library is essential for a good working additional HID API. | |||
2015-10-09 | [PUSB] Minor Style change | Nico | |
2015-10-08 | Remove unnecessary include | Nico | |
Its included by HID.h anyways. | |||
2015-10-08 | [HID] Improved checks in getDescriptor() method | Cristian Maglie | |
2015-10-07 | [PUSB] Removed unnecessary endpoint and interface function | NicoHood | |
2015-10-07 | [PHID] Added SetReport function | NicoHood | |
This commit just shows other that this option is available and not implemented. You may use this to determine the Led Lights state of a keyboard or transmit data via RAWHID from the PC. Quick usage guide: int length = ((setup.wValueH << 8) | setup.wLength); USB_RecvControl((uint8_t* data, USB_EP_SIZE); // Needs to be splitted into USB_EP_SIZE packets, not shown here. See HID Project. | |||
2015-10-07 | [PUSB] Made getDescriptor() and setup() more flexible | NicoHood | |
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] Changed Interface + Endpoint to unsigned variables | NicoHood | |
The iterations in the for loop also use unsigned and the setup struct etc as well. There was no change in HID required since we just init the inherited variables via constructor and the type is never mentioned. | |||
2015-10-07 | [PUSB] renamed some parameters | Cristian Maglie | |
2015-10-07 | Small return value error check correction | NicoHood | |
2015-10-03 | Removed not needed public statement for root node | NicoHood | |
2015-10-02 | [PUSB] Fix static initialization order fiasco | Martino Facchin | |
For details see: https://isocpp.org/wiki/faq/ctors#static-init-order-on-first-use | |||
2015-10-02 | [HID] removed HIDDescriptor field | Cristian Maglie | |
The field is now built on-the-fly on the stack and sent over USB. This change increase Flash usage and decrease SRAM usage: before: 6114 / 241 after: 6152 / 216 (removed HIDDescriptor field) delta: +38 / -25 SRAM is a much more scarse resource and this change free up to about 10% of the "base" usage. | |||
2015-10-02 | [HID] Code cleanup (no semantic changes) | Cristian Maglie | |
2015-10-02 | [HID] removed unused modules_count field | Cristian Maglie | |
2015-10-02 | [PUSB] Fixed checks on return values | Cristian Maglie | |
2015-10-02 | [USB] Fixed some compiler warnings | Cristian Maglie | |
2015-10-02 | [PUSB] Fixed the correct number of endpoints | Cristian Maglie | |
2015-10-02 | [PUSB] Fixed check for available endpoints | Cristian 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 class | Cristian Maglie | |
2015-10-02 | [PUSB] epType array is now part of HID class | Cristian Maglie | |
2015-10-02 | [HID] Removed static fields in HID class | Cristian Maglie | |
There is still the epType[] array to be handled in some way. | |||
2015-10-02 | [PUSB] The latest fields are now set via constructor | Cristian Maglie | |
2015-10-02 | [PUSB] callbacks are now pure virtual methods | Cristian Maglie | |
This change allows the compiler to handle callbacks resolution. Callbacks now must be implemented on the class that extends PUSBListNode and this is forced by compiler by means of pure virtual methods. Also the calls to HID.interface() and HID.endpoint() can now be simplified to interface() and endpoint() respectively since the methods are no more static. | |||
2015-10-02 | [PUSB] Moved static members inside HID_ class | Cristian Maglie | |
This commit prepares for the next refactoring | |||
2015-10-02 | [PUSB] replaced u8 with uint8_t | Cristian Maglie | |
2015-10-02 | [PUSB] Selected interface and endpoint are now part of PUSBListNode | Cristian 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 | [HID] Now HID extends directly PluggableUSBListNode | Cristian Maglie | |
This avoid duplicate instatiation of callback and save a considerable amount of flash. | |||
2015-10-02 | [PUSB] Global functions PUSB_* are now methods of PluggableUSB class | Cristian Maglie | |
2015-10-02 | [PUSB] PUSBCallback struct has been merged into PUSBListNode | Cristian Maglie | |
This slightly simplifies PluggableUSB API. | |||
2015-10-01 | Added LED_BUILTIN to GEMMA | Arturo Guadalupi | |
as asked in #3907 | |||
2015-09-29 | Merge remote-tracking branch 'arduino/master' | Cristian Maglie | |
2015-09-29 | Removed not used PUSB_Begin() | Nico | |
2015-09-28 | [HID] Added missing return in HID.begin() | Cristian Maglie | |
2015-09-28 | [HID] Removed unused PUSBReturn structure | Cristian Maglie | |