summaryrefslogtreecommitdiff
path: root/core/usbh_core.h
AgeCommit message (Collapse)Author
2026-04-17fix(class/hub): remove bus mutex, replace with mq to exit threadsakumisu
Signed-off-by: sakumisu <[email protected]>
2026-02-11refactor: move cherryrb and cherrymp into common dir, rename with ↵sakumisu
usb_ringbuffer and usb_mempool Signed-off-by: sakumisu <[email protected]>
2025-12-03fix(core): fix warningssakumisu
Signed-off-by: sakumisu <[email protected]>
2025-11-28update(class/hub): remove hport sources safelysakumisu
Signed-off-by: sakumisu <[email protected]>
2025-11-27feat(core/usbh_core): support custom config indexsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-11-20feat(core/usbh_core): support interfacenum match flagsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-08-30feat: host add event callback mechanism similar to deviceEgahp
* fix: fix warning for speed_table * fix(port/dwc2/usb_hc_dwc2): add roothub.speed init * feat(usbh_core): add event_callback * fix(usbh_hub): fix event device reset port * fix(usbh_hub): remove event init when init failed * feat(usbh_core): add default dummy_event_callback * fix(usbh_hub): emit reset event only on successful reset * fix(usbh_core): emit interface start only on successful connect class driver * feat(usbh_core): change event_callback to typedef * feat(port): update port usbh init params * doc: update usbh_initialize desc * fix(usbh_core): check result from ret == 0 change to ret >= 0 --------- Signed-off-by: egahp <[email protected]>
2025-08-27refactor(core/usbh_core): refactor devaddr allocation, use auto incrementsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-07-25update: add output_len param for usbh_get_string_descsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-07-01fix(class/hub): change urb interval unit to ussakumisu
Signed-off-by: sakumisu <[email protected]>
2025-01-15update(port): add ehci/ohci/dwc2 dcache supportsakumisu
Signed-off-by: sakumisu <[email protected]>
2024-10-31feat(core/usbh_core): add usbh_find_hubport apisakumisu
2024-10-30fix: rename class to class_code, for c++ compatibility (#269)electretmike
Co-authored-by: Michiel van Leeuwen <[email protected]>
2024-08-16refactor: move CHERRYUSB_VERSION and CHERRYUSB_VERSION_STR into usb_version.hsakumisu
2024-08-09Add PUSB2 and XHCI driver and RTOS glue (#236)zhugengyu
2024-07-07update(hub): update hub macros and hub params for usb3.0sakumisu
2024-06-22update(core/usbh_core): do not use slist, we use recursionsakumisu
2024-06-16fix(core/usbh_core): fix get multsakumisu
2024-06-07remove old xhci patchsakumisu
2024-05-31feat: use fast memcpy for netsakumisu
2024-05-03support id table for multi vid pidsakumisu
2024-03-18core: host: add "." to section usbh_class_info for IARZhihong Chen
- add "." to section usbh_class_info for IAR Signed-off-by: Zhihong Chen <[email protected]>
2024-03-14add timer to control interrupt transfersakumisu
2024-02-18config busid and regbase in usbh_initialize and usbd_initializesakumisu
2024-01-14usbh_core: add iar risc-v supportZhihong Chen
- add iar risc-v support Signed-off-by: Zhihong Chen <[email protected]>
2024-01-08support multi USB IP for hostsakumisu
2023-12-24add usbh_deinitialize apisakumisu
2023-11-22add mutex for ep0 urb to avoid multithreadingsakumisu
2023-11-20make hub_set_feature and hub_clear_feature api publicsakumisu
2023-11-17remove usb_mem.hsakumisu
2023-11-17use static urb for ep0sakumisu
2023-11-16refactor urb, add ep & hport in urb to make hardware pipe more reusablesakumisu
2023-11-11add usbh_set_interface apisakumisu
2023-11-04add usbh_get_string_desc apisakumisu
2023-07-05enum device with disposable thread, do not block hub threadsakimisu
2023-04-21update hub process for usb3.0, update xhci driversakimisu
2023-02-18format codesakimisu
2023-02-18move hub and hport variable into common ram to reduce nocache ram usagesakumisu
2023-02-09Revert "check if hport is null"sakimisu
This reverts commit 63bc4e936327850de6935870c0f08c6133d12fcb.
2023-02-05check if hport is nullsakumisu
2022-12-151. support for iar in situation of usb host applicationbiyq
2022-12-11update hub thread wakeup with queue not sem&listsakimisu
2022-11-21remove device mount and unmount callbacksakimisu
2022-10-07remove bulk_transfer and intr_transfersakumisu
2022-09-27fix pipe param type in usbh_hport_activate_epxsakumisu
2022-09-23record raw config descriptorssakumisu
2022-09-15add urb for msc classsakumisu
2022-09-14add interface altsetting structsakumisu
2022-09-09complete hub intr transfersakumisu
2022-09-09refactor usb host stack: hcd api, hub process and usb no cache ram processsakumisu