Age | Commit message (Collapse) | Author | |
---|---|---|---|
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] 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-09-28 | [HID] Added missing return in HID.begin() | Cristian Maglie | |
2015-09-28 | [HID] Changed 'u8' to 'uint8_t' in definitions | Cristian Maglie | |
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-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-20 | Remove Raw HID definitions at wrong place | Nico | |
2015-09-18 | Fixed wrong category in EEPROM | Cristian Maglie | |
See #3812 | |||
2015-09-18 | Added categories to libraries | Cristian Maglie | |
Fix #3812 | |||
2015-08-26 | Wire (AVR): Fix bug with repeated START | Nate Williams | |
Fix #66 | |||
2015-08-25 | implement Wire.end() for AVR core | Sandeep Mistry | |
2015-08-12 | Added 16 byte endpoint support | NicoHood | |
2015-08-12 | Fixed HID Reports >255 bytes | NicoHood | |
2015-07-16 | rework HID-based libraries and add Due fallback | Martino Facchin | |
2015-07-16 | allow HID submodules to create runtime descriptors | Martino Facchin | |
with this PR you can add \#include Keyboard.h \#include Mouse.h \#include HID.h in the top of the sketch and you will expose a Mouse+Keyboard From the library pow, simply add static HID_Descriptor cb = { .length = sizeof(_hidReportDescriptor), .descriptor = _hidReportDescriptor, }; static HIDDescriptorListNode node(&cb); HID.AppendDescriptor(&node); in the class' constructor and you are done! | |||
2015-07-16 | rework HID class functions scopes | Martino Facchin | |
2015-07-16 | rename Setup typedef struct to USBSetup | Martino Facchin | |
was really too common | |||
2015-07-16 | fix HID headers | Martino Facchin | |
2015-07-16 | fix HID descriptors bigger than 127 bytes | Martino Facchin | |
2015-07-16 | move HID library to AVR specific location | Martino Facchin | |
2015-07-06 | Examples: mass code format. See example_formatter.conf | Federico Fissore | |
2015-07-03 | Support for repeated starts added to SAM Wire library | Matthew Lowe | |
Additional interface method ported to avr for compatibility Fix issue #2428. | |||
2015-05-20 | Due to website configuration changes, every url starting with ↵ | Federico Fissore | |
http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 | |||
2015-05-19 | Libraries bundled with cores will take the type of that core, instead of ↵ | Federico Fissore | |
relying on an undocumented 'types' property. Fixes #2875 | |||
2015-05-14 | Fixes #2969: | Arturo Guadalupi | |
This fixes the Wire examples that uses I2C reserved address (from 0 to 7) substituting them with 8 that is the first one available and that can be used. I also modified the wire reference http://www.arduino.cc/en/reference/wire according to this fact. | |||
2015-03-27 | LibraryManager: better type filtering | Federico Fissore | |
2015-03-24 | Merge pull request #2812 from facchinm/test_pr2794 | Martino Facchin | |
EEPROM library V2 | |||
2015-03-24 | EEPROM: examples: fix Serial for board Leonardo | Martino Facchin | |
2015-03-24 | Fixed EEPROM examples and added readme | Chris--A | |
2015-03-20 | Updated EEPROM examples. | Chris--A | |
Removed hard coded lengths, which were incorrect for standard Arduino's now. | |||
2015-03-19 | Small tweaks to EEPROM lib and examples. | Chris--A | |
2015-03-18 | Do not influence state of SS if it's already been set to an output ↵ | Victor Aprea | |
previously, e.g. by user sketch squashes and closes PR #2659 | |||
2015-03-18 | Updated EEPROM storage class | Chris--A | |
To avoid having a .cpp just for an extern variable definition, `static` has been chosen over `extern`. As the `EEPROMClass` class simply wraps functionality located elsewhere, it is completely compiled away. Even though each translation unit which includes the header will get a copy with internal linkage, there is no associated overhead. More info [here](http://stackoverflow.com/questions/29098518/extern-variable-only-in-header-unexpectedly-working-why) | |||
2015-03-17 | Added additional examples to EEPROM lib | Chris--A | |
2015-03-17 | Added new version of EEPROM library. | Chris--A | |
2015-03-05 | Merge branch 'ide-1.5.x' into SoftwareSerial | Martino Facchin | |