summaryrefslogtreecommitdiff
path: root/src/host
AgeCommit message (Collapse)Author
2023-08-16fix abort transfer does not release endpoint, also reset state if it is ↵hathach
control transfer
2023-08-15more renamehathach
2023-08-15more minor clean uphathach
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-14fix issue 2188: support usbh_app_driver_get_cb()rppicomidi
2023-08-07Add tuh_rhport_is_active() and tuh_rhport_reset_bus()hathach
- also improve ehci bus reset - seperate bus reset delay and contact debouncing delay in enumeration
2023-08-02default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to ↵hathach
selectively disable usbd/usbh or driver log
2023-07-31Merge pull request #2093 from abakosh/no_osal_delayHa Thach
osal_none: make it possible to override the task delay function
2023-07-27Merge pull request #2179 from hathach/enhance-ehciHa Thach
Enhance EHCI
2023-07-26mising ehcihathach
2023-07-26correct hcd_edpt_clear_stall() API signaturehathach
2023-07-25fix unaligned hub status_changehathach
2023-07-24Merge branch 'master' into hcd-abort-xferHa Thach
2023-07-24clean uphathach
2023-07-24change dcache clean/invalidate return type to boolhathach
add tu_assert() check for aligned 32byte address for imxrt
2023-07-21implement hcd_edpt_abort_xfer() for EHCI, also move thing around a bithathach
2023-07-21add hcd_edpt_abort_xfer() APIhathach
2023-07-20prefer application callback over built-in driverhathach
2023-07-20improve logging, allow easier to turn off usbd, driver logginghathach
can be useful when focusing on let's say usbh
2023-07-18osal_none: make it possible to override the task delay functionAladdin Bakosh
2023-07-17fix(RA_hcd): STALL status can be also 3 not only 2Aladdin Bakosh
2023-06-16fix build warningshathach
2023-06-13fix usbh issue when device genreate multiple attach/detach/attach when ↵hathach
plugging in
2023-06-07able to response with good crchathach
2023-06-01Fix diagnostic format string (missing %u)Dave Nadler
2023-05-29slightly clean uphathach
2023-05-29check status_change is not zero firsthathach
2023-05-29Even when we get an empty "status change" interrupt from the hub, schedule ↵Ivo Popov
another interrupt poll. During enumeration, when there are multiple devices attached to the hub as it's plugged into the Pi Pico, enumeration hangs, because we get a "status change" callback with value zero. With this patch, we retry several times on "zero" status change callbacks, until eventually we succeed. This is the cheapo hub that exhibits this behavior, but I assume it's not the only one: https://www.amazon.com/gp/product/B083RQMC7S. While debugging this, I consulted the implementation in the Linux kernel. There, hub setup explicitly checks each port individually, before starting to depend on "status change" interrupts: https://elixir.bootlin.com/linux/latest/source/drivers/usb/core/hub.c#L1133. We probably should do something like that here, but it's a much bigger change.
2023-05-19ehci fix dcache clean when control endpoint failedhathach
2023-05-18EHCI more improvementhathach
- more dcache clean/invalidate - extract init_periodic_list() - improve isr list handling
2023-05-18EHCI adding dcahe support, passing enumertaionhathach
2023-05-17adding hcd_dcache_clean/hcd_dcache_invalidatehathach
2023-05-16add various check for disconncted device, also fix #1511 un-roll recursive ↵hathach
hub removal with usbh queue
2023-05-16EHCI: fix xfer failed with disconnected device as stalledhathach
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if not defined - change QHD_MAX for EHCI, should be user configurable and more optimized in the future
2023-05-16correct EHCI reporting failed xfer (instead of stalled) when device is unpluggedhathach
2023-04-28improve host serial drivershathach
- tuh_control_xfer() update xfer result to user_data if complete callback = NULL (sync/blocking) - refactor host serial driver for acm/ftdi/cp210x
2023-04-26hacky, but ftdi work with hard code baudrate = 9600hathach
2023-03-24separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN tohathach
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN - CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN - fix missing mem section and align for host
2023-03-22add tuh_task_event_ready(), better implement blocking control transfer for rtoshathach
2023-03-21add osal_task_delay() for control blockinghathach
2023-03-21add note for blocking tuh_configuration_set(), tuh_interface_set()hathach
2023-03-21add tuh_set_interfacehathach
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-03-17minor refactor to invalid indexhathach
2023-03-17fix enumerate one device at a timehathach
2023-02-22move and add optional tusb_app_virt_to_phys/tusb_app_phys_to_virthathach
also add place holder for tusb_app_dcache_flush() and tusb_app_dcache_invalidate()
2023-01-31fix host issue when mounting an CDC device without IADhathach
2023-01-03Fix typo in audio.h. Specifiy _ctrl_xfer struct in CFG_TUSB_MEM_SECTIONpete-pjb
Add NULL check to loop in list_remove_qhd_by_addr() function in ehci.c
2022-12-22correct host cdc enumhathach
2022-12-22moving edpt_stream API into common tusb.chathach