sakumisu
|
729136ea80
|
refactor(core/usbh_core): refactor lsusb
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-11-11 22:46:20 +08:00 |
|
sakumisu
|
d482b7c738
|
update(core/usbh_core): add retry for control transfer, some devices are flakey
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-11-03 22:01:12 +08:00 |
|
Egahp
|
5d5b61a606
|
feat: host add event callback mechanism similar to device
* 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 <2687434412@qq.com>
|
2025-08-30 19:24:02 +08:00 |
|
sakumisu
|
5130d22766
|
refactor(core/usbh_core): refactor devaddr allocation, use auto increment
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-08-27 21:19:43 +08:00 |
|
sakumisu
|
20ceaced92
|
update(core/usbh_core): check string support and then get string desc
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-08-01 21:38:47 +08:00 |
|
sakumisu
|
083ec57384
|
update(core/usbh_core): do not assert when parse desc fail, just return error
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-07-27 21:06:19 +08:00 |
|
sakumisu
|
ecb98f399d
|
update: add output_len param for usbh_get_string_desc
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-07-25 22:37:25 +08:00 |
|
sakumisu
|
96ab19e398
|
fix(core/usbh_core): change 2ms to 10ms because some platform's tick is 100hz then 2ms = 0ms, refs: #342
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-07-20 21:29:48 +08:00 |
|
sakumisu
|
d4dfb03afc
|
update: add USB_ASSERT_MSG for common case
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-05-06 22:34:41 +08:00 |
|
sakumisu
|
577ebd0999
|
fix unused warnings
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-04-30 21:37:50 +08:00 |
|
sakumisu
|
9a26c50900
|
fix: fix wformat warnings
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-03-28 22:39:30 +08:00 |
|
sakumisu
|
83695e77cf
|
update: add usb align up for every buffer when use dcache clean&invalid api
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-03-28 13:29:04 +08:00 |
|
sakumisu
|
147dc4ab5d
|
fix(core/usbh_core): check hport is valid in usbh_control_transfer
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-02-09 21:53:12 +08:00 |
|
sakumisu
|
ac6db49d00
|
fix(core/usbh_core): return valid hport which is connected
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-02-07 20:15:08 +08:00 |
|
sakumisu
|
fd033f25c5
|
feat(core/usbh_core): add usbh_printf_setup api for debug
Signed-off-by: sakumisu <1203593632@qq.com>
|
2025-01-25 19:08:15 +08:00 |
|
yangpeng
|
e6801fcbb8
|
修复VID/PID匹配逻辑
|
2024-12-20 16:37:59 +08:00 |
|
sakumisu
|
886f1ec6b4
|
fix warning
|
2024-12-09 20:53:02 +08:00 |
|
sakumisu
|
a13bee0663
|
feat(core/usbh_core): add usbh_find_hubport api
|
2024-10-31 21:45:19 +08:00 |
|
electretmike
|
149fb046bc
|
fix: rename class to class_code, for c++ compatibility (#269)
Co-authored-by: Michiel van Leeuwen <michiel@embeddedacoustics.com>
|
2024-10-30 15:11:46 +08:00 |
|
sakumisu
|
02340e0f44
|
chore: static code analysis
|
2024-09-19 09:50:18 +08:00 |
|
CCHhui
|
171b36e766
|
fix(core/usbh_core): Fix raw_config_desc heap out of bounds
|
2024-09-16 22:48:35 +08:00 |
|
sakumisu
|
a139a70782
|
update(usbh_core): add terminate char for raw_config_desc
|
2024-09-07 22:43:43 +08:00 |
|
sakumisu
|
b045a1d490
|
fix(core/usbh_core.c): fix error name
|
2024-08-24 15:53:19 +08:00 |
|
zhugengyu
|
18d9c21553
|
Add PUSB2 and XHCI driver and RTOS glue (#236)
|
2024-08-09 22:43:22 +08:00 |
|
sakumisu
|
1c2fd3407a
|
refactor(osal): use osal malloc and free, remove usb_malloc & usb_free macro
|
2024-07-23 19:37:54 +08:00 |
|
sakumisu
|
e4b56cee89
|
update(hub): update hub macros and hub params for usb3.0
|
2024-07-07 12:07:12 +08:00 |
|
sakumisu
|
10437a7d13
|
update(core/usbh_core): do not use slist, we use recursion
|
2024-06-22 15:44:09 +08:00 |
|
sakumisu
|
5d87a750ac
|
fix(core/usbh_core): fix missing free devaddr caused by 935325
|
2024-06-17 18:37:22 +08:00 |
|
sakumisu
|
935325175f
|
remove old xhci patch
|
2024-06-07 21:51:33 +08:00 |
|
sakumisu
|
9657585f1f
|
update(core/usbh_core): remove ununsed urb memset
|
2024-05-15 09:57:21 +08:00 |
|
sakumisu
|
7ebcafe158
|
adjust code order
|
2024-05-03 18:57:09 +08:00 |
|
sakumisu
|
5fec929b93
|
support id table for multi vid pid
|
2024-05-03 18:54:36 +08:00 |
|
sakumisu
|
4bf0e126af
|
move usbh_hubport_release api to core
|
2024-05-03 18:00:59 +08:00 |
|
sakumisu
|
7ee77b42ee
|
check class_driver is null
|
2024-04-25 21:20:24 +08:00 |
|
sakumisu
|
404225ade4
|
change INFO to DBG
|
2024-04-25 21:17:56 +08:00 |
|
sakumisu
|
1eef5f3e35
|
add config index to select multi configs
|
2024-04-07 16:53:53 +08:00 |
|
sakumisu
|
5494b0e99a
|
add check for wTotalLength
|
2024-04-03 11:27:28 +08:00 |
|
Zhihong Chen
|
9145add9af
|
core: host: add "." to section usbh_class_info for IAR
- add "." to section usbh_class_info for IAR
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2024-03-18 19:20:30 +08:00 |
|
Zhihong Chen
|
869b5809f3
|
core: usbh_core: fix ep0_request_buffer index lose
- fix ep0_request_buffer index lose
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2024-03-13 19:25:07 +08:00 |
|
sakumisu
|
2e862f3864
|
set config with configvalue
|
2024-03-12 22:45:12 +08:00 |
|
sakumisu
|
6369ead152
|
optimise find class driver api
|
2024-03-12 22:41:01 +08:00 |
|
sakumisu
|
9e0cc8347c
|
align for some buffers
|
2024-02-24 16:38:57 +08:00 |
|
Zhihong Chen
|
4803a6826b
|
update endpoint number usage and fix busid check
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2024-02-19 20:19:48 +08:00 |
|
sakumisu
|
e0551b3e7b
|
config busid and regbase in usbh_initialize and usbd_initialize
|
2024-02-18 21:15:04 +08:00 |
|
sakumisu
|
eeb304ae08
|
update log tag
|
2024-01-30 23:04:35 +08:00 |
|
Zhihong Chen
|
6bc6b06076
|
usbh_core: add iar risc-v support
- add iar risc-v support
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
|
2024-01-14 17:00:40 +08:00 |
|
sakumisu
|
1158fc3d8c
|
support multi USB IP for host
|
2024-01-08 22:47:28 +08:00 |
|
sakumisu
|
2662a3497d
|
add \t for hub info log
|
2023-12-27 20:21:10 +08:00 |
|
sakumisu
|
f68a86ea89
|
add usbh_deinitialize api
|
2023-12-24 23:37:47 +08:00 |
|
sakumisu
|
14f1f597f1
|
add usb errno, do not use system errno
|
2023-12-05 21:34:32 +08:00 |
|