I added the Isochronous to USBHost library. The Isochronous code based on the following. http://developer.mbed.org/users/va009039/code/USBHostC270_example/
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost_AddIso by
Diff: USBHost/USBEndpoint.cpp
- Revision:
- 33:bf48dc2a4240
- Parent:
- 24:868cbfe611a7
--- a/USBHost/USBEndpoint.cpp Fri Oct 16 11:13:01 2015 +0000 +++ b/USBHost/USBEndpoint.cpp Mon Apr 18 10:01:46 2016 +0000 @@ -140,7 +140,7 @@ //Now add this free TD at this end of the queue state = USB_TYPE_PROCESSING; - td_current->nextTD = td_next; + td_current->nextTD = (hcTd*)td_next; hced->tailTD = td_next; } @@ -158,5 +158,5 @@ void USBEndpoint::queueEndpoint(USBEndpoint * ed) { nextEp = ed; - hced->nextED = (ed == NULL) ? 0 : ed->getHCED(); + hced->nextED = (ed == NULL) ? 0 : (hcEd*)(ed->getHCED()); }