Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2015-09-28 | [HID] Changed 'u8' to 'uint8_t' in definitions | Cristian Maglie | |
2015-09-28 | Removed not needed Timer warning | Nico | |
Timer is declared above, so nothing is missing here. | |||
2015-09-28 | Removed Timer warnings when Timer 2 is not present | Nico | |
2015-09-28 | Remove Compiler Warning in Tone.cpp | Nico | |
2015-09-28 | Fix compiler warning in CDC.cpp | Nico | |
2015-09-28 | Fix compiler warnings in USBCore.cpp | Nico | |
2015-09-28 | [HID] added 'const' qualifier in HID initialization | Cristian Maglie | |
See https://github.com/arduino/Arduino/pull/3840#discussion_r40438845 | |||
2015-09-28 | Merge branch 'pluggable_hid_impr' of https://github.com/cmaglie/Arduino | Cristian Maglie | |
2015-09-28 | Added Arduino Zero exclusion to README | Arturo Guadalupi | |
2015-09-25 | Merge pull request #3864 from facchinm/pulseInLongOVF | Martino Facchin | |
fix pulseInLong considering overflow | |||
2015-09-24 | Fixed another regression in IPAddress.h | Cristian Maglie | |
If the includer tries to inlcude IPAddress.h without first including WString.h the build will fail. | |||
2015-09-24 | {build.path}/{archive_file} is now {archive_file_path} in recipe.ar.pattern | Federico Fissore | |
2015-09-22 | HID: merged HID_Descriptor into HIDDescriptorListNode | Cristian Maglie | |
This simplifies the object model and produce a small gain in code size and performance. | |||
2015-09-22 | HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor | Cristian Maglie | |
In particular HIDDescriptorListNode.cb has been renamed to HIDDescriptorListNode.descriptor because it contains decriptor data and not callbacks. Moreover the HID_Descriptor.descriptor field has been renamed to HID_Descriptor.data so the structure has now two fields length and data. typedef struct __attribute__((packed)) { uint16_t length; const void* data; } HID_Descriptor; class HIDDescriptorListNode { public: HIDDescriptorListNode *next = NULL; const HID_Descriptor *descriptor; HIDDescriptorListNode(const HID_Descriptor *d) : descriptor(d) { } }; This imply a change in the use of the node from: node->cb->lenght node->cd->descriptor to node->descriptor->length node->descriptor->data | |||
2015-09-21 | Modified reference to Leonardo only in the examples | Arturo Guadalupi | |
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples. Changed in in "wait for serial port to connect. Needed for native USB port only" | |||
2015-09-21 | Merge branch 'patch-7' of https://github.com/NicoHood/Arduino | Cristian Maglie | |
2015-09-21 | fix pulseInLong considering overflow | Martino Facchin | |
fixes #3830 | |||
2015-09-21 | Merge pull request #3825 from NicoHood/patch-6 | Martino Facchin | |
Remove Raw HID definitions at wrong place | |||
2015-09-21 | pulseInLong: fix incorrect timeout handling | Martino Facchin | |
2015-09-20 | Fix CDC Serial buffer size determination | Nico | |
2015-09-20 | Fix HW Serial buffer size determination | Nico | |
2015-09-20 | Remove Raw HID definitions at wrong place | Nico | |
2015-09-18 | Updating arduino-builder to 1.0.0-beta8 | Federico Fissore | |
2015-09-18 | Merge branch 'ethernet-dns-fix' of https://github.com/cmaglie/Arduino | Cristian Maglie | |