summaryrefslogtreecommitdiff
path: root/src/host
AgeCommit message (Collapse)Author
2025-03-03- add tuh_descriptor_get_string_langid() APIhathach
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
2025-02-24add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()hathach
change tuh_midi_rx/tx_cb() to have xferred_bytes rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count() use default empty callback instead of weak null to be compatible with keil compiler
2025-02-21Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # src/host/usbh.c
2025-02-19more hub improve, handle more failed transfer with polling interrupt status ↵hathach
endpoint
2025-02-19complete separate hub epbuf from itfhathach
add hub_get_status(), hub_clear_feature()
2025-02-19move status_change to epbufhathach
improve hub_xfer_cb() rename internal complete function
2025-02-17usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.hathach
added tuh_connected()
2025-02-17improve hub: retry if hub interrupt endpoint failedhathach
bump up pio-usb to latest
2025-02-13update midi host to use endpoint stream APIhathach
2025-02-12- use CFG_TUH_MIDI as number of midi host instancehathach
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12fix host midi buildhathach
2025-02-12clean uphathach
2025-02-12Merge branch 'master' into fork/atoktoto/midihosthathach
# Conflicts: # hw/bsp/rp2040/family.cmake # src/class/midi/midi.h # src/class/midi/midi_device.c # src/device/usbd_control.c # src/host/hcd.h # src/host/usbh.c # src/host/usbh.h
2025-01-29Fix Auto speed display.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-28Merge branch 'refs/heads/master' into fork/GuavTek/recover_zero_length_deschathach
2024-11-27Move desc_len sanity checks to start of loopsGuavTek
2024-11-27minor clean uphathach
2024-11-27update device_info example to work with p4 dcachehathach
2024-11-26msc host work ok with p4 dmahathach
2024-11-26hcd dwc2 add dcache support, usbh correctly use cache line size with ↵hathach
TUH_EPBUF_DEF
2024-11-04usbh use the new tusb_time_delay_ms_api()hathach
fix duplicated device attach for some devices which cause "USBH Defer Attach until current enumeration complete" include dev0 for tuh_edpt_abort_xfer()
2024-10-21add tusb_time_millis(), able to reset and enable dwc2 port and get SOF activehathach
2024-10-18Recover host enumeration from zero length descriptorsGuavTek
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11hcd_init() take init structhathach
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-08-26add sndfifo owner info to skip rewriting data for retrying NAKedhathach
2024-06-20usbh: Add set address recovery timeRyzee119
Ref USB Spec 9.2.6.3
2024-06-18usbh: Set interface recipient should be interfaceRyzee119
2024-04-22fix nrfx v3 spim freq when inithathach
fix clang build with nrf
2024-04-16add TU_ASSERT() to check for adding new usb eventhathach
2024-04-08add class driver deinithathach
2024-04-08add cpuctl and pinctl to tuh_configure() option for max3421hathach
2024-04-02add hcd_configure() to change max NAK dynamicallyhathach
2024-03-28use hub_addr=0, hub_port=0 for removing root hub porthathach
2024-03-28Fake unplug devices when a root hub is deinitScott Shawcroft
2024-03-28fix build when CFG_TUH_HUB == 0hathach
2024-03-28enhance hub removal using while loop to unroll recursive instead of event queue.hathach
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-11Merge pull request #2400 from Ryzee119/hub_fixHa Thach
[HUB] Fix double status xfer
2024-01-09[HUB] Prevent status request to invalid ep_numRyzee119
2024-01-07[HUB] Fix double status xferRyzee119