summaryrefslogtreecommitdiff
path: root/src/host
AgeCommit message (Collapse)Author
2023-12-26improved hex debug print, improved USBH debug prints, added pid/vid debug printIngHK
2023-12-13try to add samd51 to hil pool using doublereset (rpi gpio) and bossachathach
2023-12-08Merge remote-tracking branch 'remotes/hathach/master' into HostLogsFixesIngHK
2023-11-24fixed compile errors due to untreated CFG_TUH_LOG_LEVELIngHK
2023-11-24add optional event hook callback tud_event_hook_cb() and tuh_event_hook_cb()hathach
2023-11-23Add optional hooks for DCD and HCD eventsAngus Gratton
These are intended to allow bare metal platforms with one-shot scheduling capabilities to schedule the TinyUSB task handlers whenever they know there is work for them to do. Signed-off-by: Angus Gratton <[email protected]>
2023-11-03fix -Werror=null-dereference warninghathach
2023-11-03fix race condition when dev0 is removed while enumeratinghathach
2023-09-28improve esp32 ci, build esp32 with -DDMAX3421_HOST=1 for max3421 testinghathach
revert change in hcd.h
2023-09-28fix esp32 msc examplehathach
2023-09-27Merge branch 'master' into add-max3421-esp32hathach
2023-09-27change hcd_int_handler(rhport, in_isr) signature: add in_isrhathach
change tuh_int_handler() to take in_isr as optional parameter (default = true)
2023-09-27update max3421 to have hcd_int_handler_ext()hathach
2023-09-26tested cdc_msc_hid_freertos with samd51hathach
add -Wno-error=format for espressif wrap up cdc_msc_hid_freertos
2023-09-25adding host/cdc_msc_hid_freertos examplehathach
2023-09-07- wrap up hcd max3421, work well with nrf52840hathach
- also add usbh_defer_func()
2023-09-06minor debug clean uphathach
2023-08-31improve connection & disconnection detection. But there is still issue when ↵hathach
CONDETIRQ occurs but we are disabled interrupt (for osal queue access).
2023-08-27more update to transactionhathach
2023-08-23able to get 8 byte descriptor, but read(RCVBC) always return 0hathach
- rename max3421e to max3421 - fix incorrect bitmask for HCTL, fix initial device connect - fix bus reset cause connect IRQ
2023-08-22able to send setup packethathach
2023-08-18- update nrf52 bsp for cmakehathach
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled - add hcd_template.c
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