aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBCore.cpp
AgeCommit message (Collapse)Author
2015-07-16rename Setup typedef struct to USBSetupMartino Facchin
was really too common
2015-07-16Add support for waking up a host via USB HIDMartino Facchin
this is a rework of commit fbcf94801b8bba7f1c8c79cc7ae402b6b9dbb2d3
2015-07-16remove 3 endpoints to match at32u4 limitMartino Facchin
2015-07-16add numInterfaces field to PUSBCallbacksMartino Facchin
2015-07-16make CDC function non removableMartino Facchin
2015-07-16remove useless variableMartino Facchin
2015-07-16add PluggableUSB moduleMartino Facchin
2015-07-16move _initEndpoints from PROGMEM to RAMMartino Facchin
2015-07-16Use generic composite device descriptorMartino Facchin
2015-07-16Move EP defines to headerMartino Facchin
2014-09-12Fixed trivial include error introduced in previous commit 2e3e539b... oops...Cristian Maglie
2014-05-26Merge branch 'usbcdc-improved' into ide-1.5.xCristian Maglie
2014-05-24Improve CDC read codePaul 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-24Fix race condition in USB CDC transmitPaul 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-20Fixed other trivial warnings in AVR USB core.Cristian Maglie
See #1877
2014-04-20Removed other unused variables in CDC.cpp and HID.cppCristian Maglie
See #1877
2014-04-20Removed 'USB_MANUFACTURER' constant redefinition for known VIDs.Cristian Maglie
See #1877
2013-07-17Remove hardcoded product names (all provided for in boards.txt)Angus Gratton
2013-07-17Fix whitespace (tabify), oopsAngus Gratton
2013-07-17Allow USB product and manufacturer strings to be supplied in boards.txtAngus Gratton
2012-12-07Added support for Arduino EsploraCristian Maglie
2012-11-01Adding LilyPad Arduino USB.David A. Mellis
2012-10-27Adding Micro.David A. Mellis
2012-10-18Updating USB core to work at 8 MHz (different PLLCSR value).David A. Mellis
2012-09-13Avoid serial buffer overrun on leonardoPeter Van Hoyweghen
2012-05-01renamed 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-25changed PID values for Leonardo bootloader and sketchZach Eveland
done to avoid driver problems for users who installed the pre-release bootloader and driver
2012-04-09Micro I hardly knew yeZach Eveland
2012-04-09sketch 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
2012-03-07Fix for some strange behaviours during board resetCristian Maglie
2011-12-18added asynchronous buffering of received CDC charactersZach Eveland
This fixes the issue Federico reported where bytes written by host but not read by sketch would cause serial connection to lock up. Ring buffer implementation is based on HardwareSerial.cpp. Adds public accept() method to CDC.
2011-09-16added automatic one-shot TX and RX LED control for sketch USBZach Eveland
2011-09-16added to sketch iProduct and iManufacturer strings identifying board as ↵Zach Eveland
either an "Arduino Leonardo" or "Arduino Micro" manufactured by "Arduino LLC"
2011-08-30support for non-Leonardo boards is back!Zach Eveland
2011-08-14Serial via USB worksZach Eveland
Integrated rest of Peter's USB implementation