summaryrefslogtreecommitdiff
path: root/src/host/usbh.c
AgeCommit message (Collapse)Author
2024-03-22implement tuh_init()hathach
change usbh driver init() return type from void to bool
2024-03-22adding deinit() stub for usbh/hcd class driverhathach
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-04- usbh enumeration: move _parse_configuration_descriptor after ↵hathach
SET_CONFIGURATION is successful - usbh: abort all pending xfer when SET_CONFIGURATION is complete - use tu_edpt_release in tuh_edpt_abort_xfer instead of usbh_edpt_release - rename _xfer_complete -> _control_xfer_complete
2024-03-04code reformathathach
2024-02-08missing \r\n after TU_LOG_BUF => moved \r\n to tu_print_buf()IngHK
2024-02-07Merge remote-tracking branch 'remotes/hathach/master' into improve_debug_printsIngHK
2024-02-07changes after reviewIngHK
2024-01-12- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementationhathach
- change code style
2024-01-09[HUB] Prevent status request to invalid ep_numRyzee119
2023-12-26improved hex debug print, improved USBH debug prints, added pid/vid debug printIngHK
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-28fix esp32 msc examplehathach
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-22able to send setup packethathach
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-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-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-19ehci fix dcache clean when control endpoint failedhathach
2023-05-16add various check for disconncted device, also fix #1511 un-roll recursive ↵hathach
hub removal with usbh queue
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