Russ Butler
311e8b7d0d
Change USBDevice read handling
...
Remove the USBDevice function read_start and automatically start all
reads internally in USBDevice. This patch also renames the function
read_finish to read.
2018-03-27 14:31:59 +02:00
Russ Butler
4aba910249
Add and assert USB callback completion
...
Assert that when a callback is completed it is the active callback.
2018-03-27 14:31:59 +02:00
Russ Butler
1440603b1f
Update USBDevice and configure to use a USBPhy
...
Update the USBDevice class API so it matches mbed-os's naming
conventions, has a more robust API and uses USBPhy as its backend.
2018-03-27 14:31:58 +02:00
Russ Butler
b6a2141645
Update USB licenses and format code
...
Update USB licenses from MIT to Apache 2 and run astyle on the code.
2018-03-27 14:31:58 +02:00
Russ Butler
a64f663a43
Copy USBDevice from unsupported
...
Copy the USBDevice code out of unsupported and into a top level USB
folder in preparation for development.
squash
2018-03-27 14:31:58 +02:00