ladyada
4d8adc9be4
Merge branch 'master' of https://github.com/arduino/ArduinoCore-samd into arduino-master
2019-03-08 14:03:54 -05:00
Sandeep Mistry
9d83af3e05
Fix USB warnings
2018-11-27 09:39:36 -05:00
dean
87eae6f55c
DM: add copyrights
2018-08-30 15:12:51 -04:00
dean
7f74c2126e
update usb stuff
2018-08-30 15:08:16 -04:00
dean
9eecac827b
DM: updates for rev B
2018-08-30 14:59:16 -04:00
dean
c1827b289d
DM: added support for samd51J20A
2018-08-30 14:46:42 -04:00
dean
4810822d26
DM: mostly fixed usb enumeration delay
2018-08-30 14:44:35 -04:00
dean
358b11addd
DM: added samd51 support
2018-08-30 14:32:21 -04:00
Martino Facchin
f4dfac890f
Always call new DoubleBufferedEPOutHandler on reconnect
...
Avoid memory leak by deleting the buffers; DoubleBufferedEPOutHandler should be refactored (in beta branch) to allow separate "new" and "setup" procedures
Fixes #350
2018-08-24 12:24:49 +02:00
Sandeep Mistry
70b011b077
USB: Only swap incoming buffers for non-ZLP's
2017-05-02 10:01:03 -04:00
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
Sandeep Mistry
80f629c379
Correct epBank1EnableTransferComplete
2016-12-19 16:30:52 -05:00
Sandeep Mistry
38683e36b6
Changes required for new CMSIS package upgrade
...
Fixes some compile errors and warnings
2016-12-02 10:48:52 -05:00
Cristian Maglie
b06501baee
Fix regression: SerialUSB.available() do not return correct values
...
Fix #172
2016-10-10 12:43:14 +02:00
Cristian Maglie
5265e1215a
USB: EP0 ::recv method has been merged with ::read method
...
It makes no sense to have ::recv calling repeatedly ::read in this
case.
2016-08-24 12:37:27 +02:00
Cristian Maglie
2e44a4d961
USBD: Added critical sections to EP OUT handler
2016-08-24 01:04:58 +02:00
Cristian Maglie
a9127228d6
USB: Slightly refactored EP OUT handler
...
Now the release() function only performs the action that is called for,
i.e. release the endpoint and let it receive data. All the buffers handling
has been inlined in the callers, this also slightly improves performance
because it allows to remove some redundant checks.
2016-08-24 01:04:58 +02:00
Cristian Maglie
3ba1a35296
Moved EPHandler in USBDevice headers
...
The reference to the upper USBDevice class is passed on
the EPHandler constructor.
2016-08-24 01:04:58 +02:00
Cristian Maglie
44174a0ae6
USB device refactoring (WIP)
2015-09-09 15:42:05 +02:00