Commit graph

18 commits

Author SHA1 Message Date
Martino Facchin
b9ac48c782 Implement low power functionality on USB subsystem
This enables remote wakeup on CDC driver, so we can safely call standby() and maintain the Serial prints on resume.
2017-04-04 10:50:22 +02:00
Cristian Maglie
4691ef4ba0 USB: Added optimized Stream::readBytes for EP OUT handler
This bypass the generic (but inefficient) implementation of Stream::readBytes
and uses an optimized version of readBytes than can do efficient multi-byte reads.
2016-08-24 12:50:37 +02:00
Cristian Maglie
7d37753904 USB-CDC: OUT EP is now handled with a custom EPHandler 2016-08-24 01:04:58 +02:00
Cristian Maglie
34bf5421f8 USB: set return type of USBDevice::recv(ep) to int
this is the proper type to encapsulate a byte when data is available
or -1 when there is no data.
2016-08-24 01:04:58 +02:00
Cristian Maglie
9f678cb416 USB-CDC: Refactored EP OUT handling 2016-08-24 01:04:58 +02:00
Sandeep Mistry
e4f7bf513d Add private availableForStore method, and use in Serial_::accept 2016-08-24 01:04:58 +02:00
Sandeep Mistry
97e9c26fd7 Add Serial_::availableForWrite 2016-06-06 10:00:21 -04:00
Sandeep Mistry
3ea315a0e3 Port some AVR Serial_ (SerialUSB) API's over 2016-01-15 09:13:34 -05:00
Martino Facchin
02945cc78e [PluggableUSB] port to stable API 2015-10-12 15:28:07 +02:00
Martino Facchin
6d2f3db02a adapt USB core to PluggableUSB 2015-09-16 12:59:53 +02:00
Cristian Maglie
45d787ddb6 Removed some unused warning in USB-Core 2015-09-09 15:43:25 +02:00
Cristian Maglie
44174a0ae6 USB device refactoring (WIP) 2015-09-09 15:42:05 +02:00
Jean-Christophe BUDA
ecec13aa51 Merge branch 'zero' of https://github.com/arduino/ArduinoZero into zero
Conflicts:
	hardware/arduino/samd/cores/arduino/USB/samd21_host.c
	hardware/arduino/samd/cores/validation/validation_usb_host/test_usb_host.cpp
2014-08-01 17:23:31 +02:00
Jean-Christophe BUDA
5a20d0a5bf [USBHost] Arduino Zero. Add USB Host. 2014-08-01 12:11:49 +02:00
Thibaut VIARD
ae42fd1167 Adding license in files, update platform.txt 2014-07-25 17:11:29 +02:00
Jean-Christophe BUDA
5873b030b0 USB device stack HID CDC validated 2014-06-20 17:28:31 +02:00
Thibaut VIARD
a48627b3e5 Bringing USB files in name of JcB 2014-05-12 20:09:09 +02:00
Thibaut VIARD
973ccc47d8 Adding first files, not Zero specific 2014-04-15 14:46:03 +02:00