Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-11 | Add USBDevice.isSuspended() | Gergely Nagy | |
Based on code originally by Rob van der Veer <rob.c.veer@gmail.com>, this adds USBDevice.isSuspended(), so user sketches can run custom code in their `loop` methods after checking if the device is suspended or not. Signed-off-by: Gergely Nagy <algernon@keyboard.io> | |||
2017-11-13 | Always read key to check for new LUFA bootloader | Scott Allen | |
Instead of checking for the NEW_LUFA_SIGNATURE once in program memory and then setting a flag which is used for further checks, a function is used that always checks program memory directly. If a flag is used, there's a slight chance that its location in RAM could fall on MAGIC_KEY_POS. In this case, an aborted USB auto-reset sequence may fail. | |||
2017-03-20 | Fixed warning about unused variable | Cristian Maglie | |
2017-03-16 | use IAD Descriptor for device descriptor per the definition in "USB 2.0 ECN ↵ | liu nick | |
Interface Association Descriptor" and "USB Interface Association Descriptor Device Class Code and Use Model" | |||
2017-03-16 | [AVR] USB send ZLP when needed | Cristian Maglie | |
See #5732 #4864 #4138 #3946 | |||
2017-03-16 | Revert "Subtract one from USB_EP_SIZE in USB_SendSpace" | Cristian Maglie | |
This reverts commit 817d700a7503b269f986075cad637ce56c657e37. | |||
2016-08-28 | remove extra semicolon | Kyle Chisholm | |
I was compiling with -Werror and this little error popped up | |||
2016-07-14 | Send an USB remote wakeup if data need to be written | Martino Facchin | |
On Linux, setting autosuspend_delay_ms to N and control to auto allows the host pc to suspend the peripheral. Some Linux distro (Ubuntu, Mint) apply this behaviour by default. If the sketch's prints where less frequent than N milliseconds the sketch prints would never arrive. This patch allows sending a remote wakeup event to unsuspend the peripheral and allow the serial prints to be received. | |||
2016-07-14 | [AVR][USB] fix IRQ flags clearing | Martino Facchin | |
2016-04-14 | Subtract one from USB_EP_SIZE in USB_SendSpace | Sandeep Mistry | |
This avoids dealing with ZLP’s in USB_Send, because the max packet size will be EP size - 1. | |||
2016-04-06 | [AVR] Discover newer bootloader at runtime | Martino Facchin | |
Replaces #4280, only checks for the bootloader once Tested with Hoodloader2, should work with every LUFA-derived bootloader released after 2014 (.apitable_signatures section must be placed at end of the flash) BootloaderAPITable.S : .global BootloaderAPI_Signatures BootloaderAPI_Signatures: .long BOOT_START_ADDR ; Start address of the bootloader .word 0xDF00 ; Signature for the CDC class bootloader .word 0xDCFB ; Signature for a LUFA class bootloader makefile: BOOT_API_LD_FLAGS += $(call BOOT_SECTION_LD_FLAG, .apitable_signatures, BootloaderAPI_Signatures, 8) | |||
2015-12-23 | Added >64 byte USB_RecvControl() support | NicoHood | |
2015-10-21 | [USB] use plugged modules name to create iSerial field | Martino Facchin | |
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-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 | [PUSB] Fixed the correct number of endpoints | Cristian Maglie | |
2015-10-02 | [PUSB] Global functions PUSB_* are now methods of PluggableUSB class | Cristian Maglie | |
2015-09-28 | Fix compiler warnings in USBCore.cpp | Nico | |
2015-08-12 | Added u2 Series support | NicoHood | |
2015-08-12 | Added 16 byte endpoint support | NicoHood | |
2015-08-12 | Added missing static inline to USB Recv function | NicoHood | |
2015-07-16 | rename Setup typedef struct to USBSetup | Martino Facchin | |
was really too common | |||
2015-07-16 | Add support for waking up a host via USB HID | Martino Facchin | |
this is a rework of commit fbcf94801b8bba7f1c8c79cc7ae402b6b9dbb2d3 | |||
2015-07-16 | remove 3 endpoints to match at32u4 limit | Martino Facchin | |
2015-07-16 | add numInterfaces field to PUSBCallbacks | Martino Facchin | |
2015-07-16 | make CDC function non removable | Martino Facchin | |
2015-07-16 | remove useless variable | Martino Facchin | |
2015-07-16 | add PluggableUSB module | Martino Facchin | |
2015-07-16 | move _initEndpoints from PROGMEM to RAM | Martino Facchin | |
2015-07-16 | Use generic composite device descriptor | Martino Facchin | |
2015-07-16 | Move EP defines to header | Martino Facchin | |
2014-09-12 | Fixed trivial include error introduced in previous commit 2e3e539b... oops... | Cristian Maglie | |
2014-05-26 | Merge branch 'usbcdc-improved' into ide-1.5.x | Cristian Maglie | |
2014-05-24 | Improve CDC read code | Paul Brook | |
Read CDC data from USB FIFO on demand instead of in ISR. Remove superfluous ring buffer. Signed-off-by: Paul Brook <paul@nowt.org> | |||
2014-05-24 | Fix race condition in USB CDC transmit | Paul Brook | |
If the Start of Frame interrupt triggers just after the call to USB_SendSpace in USB_Send then we can get data loss. When the first bank is full and the second partially full, the SOF handler will release the second bank via USB_Flush. Data is then lost due to overflow as USB_Send continues writing data to the now-closed bank. Fix this by re-checking the FIFO status inside LockEP, immediately before doing the data write. Signed-off-by: Paul Brook <paul@nowt.org> | |||
2014-04-20 | Fixed other trivial warnings in AVR USB core. | Cristian Maglie | |
See #1877 | |||
2014-04-20 | Removed other unused variables in CDC.cpp and HID.cpp | Cristian Maglie | |
See #1877 | |||
2014-04-20 | Removed 'USB_MANUFACTURER' constant redefinition for known VIDs. | Cristian Maglie | |
See #1877 | |||
2013-07-17 | Remove hardcoded product names (all provided for in boards.txt) | Angus Gratton | |
2013-07-17 | Fix whitespace (tabify), oops | Angus Gratton | |
2013-07-17 | Allow USB product and manufacturer strings to be supplied in boards.txt | Angus Gratton | |
2012-12-07 | Added support for Arduino Esplora | Cristian Maglie | |
2012-11-01 | Adding LilyPad Arduino USB. | David A. Mellis | |
2012-10-27 | Adding Micro. | David A. Mellis | |
2012-10-18 | Updating USB core to work at 8 MHz (different PLLCSR value). | David A. Mellis | |
2012-09-13 | Avoid serial buffer overrun on leonardo | Peter Van Hoyweghen | |
2012-05-01 | renamed Leonardo USB_ class to USBDevice_ to be unambiguous. renamed "USB" ↵ | Zach Eveland | |
object to "USBDevice" to prevent conflict with USB Host library (thanks Massimo) | |||
2012-04-25 | changed PID values for Leonardo bootloader and sketch | Zach Eveland | |
done to avoid driver problems for users who installed the pre-release bootloader and driver | |||
2012-04-09 | Micro I hardly knew ye | Zach Eveland | |
2012-04-09 | sketch USB VID and PID values are passed in from boards.txt at compile time ↵ | Zach Eveland | |
now. changed sketch PIDs to final values. also uncommented Micro section in boards.txt |