sakumisu
605a967282
style: remove some logs
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-07-16 22:17:19 +08:00
sakumisu
832e4c45fb
fix(class/hub): change urb interval unit to us
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-07-01 21:21:59 +08:00
sakumisu
6b7d755d3a
update(class/hub/usbh_hub): reduce critical section range
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-06-04 13:08:51 +08:00
sakumisu
577ebd0999
fix unused warnings
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-04-30 21:37:50 +08:00
sakumisu
6769eac6e0
feat(osal): add argument macro for different os, especially for nuttx
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-01-20 18:23:59 +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
sakumisu
35da8d6747
fix: fix -Wunused-parameter warning with -Wextra cflag
2024-08-21 20:08:47 +08:00
sakumisu
e4b56cee89
update(hub): update hub macros and hub params for usb3.0
2024-07-07 12:07:12 +08:00
sakumisu
1decfd0365
update(class/hub/usbh_hub): enumerate in order
2024-06-23 14:48:07 +08:00
sakumisu
10437a7d13
update(core/usbh_core): do not use slist, we use recursion
2024-06-22 15:44:09 +08:00
sakumisu
935325175f
remove old xhci patch
2024-06-07 21:51:33 +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
017eb5560d
fix missing busid
2024-04-19 13:03:54 +08:00
sakumisu
2660af5d87
add timer to control interrupt transfer
2024-03-14 19:31:52 +08:00
sakumisu
9e0cc8347c
align for some buffers
2024-02-24 16:38:57 +08:00
sakumisu
eeb304ae08
update log tag
2024-01-30 23:04:35 +08:00
sakumisu
1158fc3d8c
support multi USB IP for host
2024-01-08 22:47:28 +08:00
sakumisu
5fe66b4f0d
dwc2: ctrl and bulk no need nak irq, when intr calls nak, retry by user
2024-01-06 01:09:55 +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
sakumisu
50e1cd3471
add mutex for ep0 urb to avoid multithreading
2023-11-22 21:44:51 +08:00
sakumisu
9ea2121c7c
make hub_set_feature and hub_clear_feature api public
2023-11-20 22:15:43 +08:00
sakumisu
a08097c90e
use static urb for ep0
2023-11-17 21:05:07 +08:00
sakumisu
5bbe2a97f2
refactor urb, add ep & hport in urb to make hardware pipe more reusable
2023-11-16 19:56:52 +08:00
sakumisu
5e689dfe15
fix class api name
2023-11-13 19:50:04 +08:00
sakumisu
0738c09a4d
check qtd active status to fix nbytes = 0 in nak or ping status
2023-11-03 22:18:58 +08:00
Zhihong Chen
d4ba2eef57
osal: add USB_OSAL_WAITING_FOREVER for Semaphore and Queue use
...
- add USB_OSAL_WAITING_FOREVER for Semaphore and Queue use
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2023-10-12 14:38:13 +08:00
Wayne Lin
dd1f1d3ba8
Update hcd-ehci, dcd-dwc2 and examples.
...
1. Add some example Msh commands.
2. Fix device enumeration on EXT hub.
3. Re-file some templates.
4. Extend end-point number of dwc2 device driver.
5. Re-file rndis_host implementation includes
a. rt_mutex_take in ISR
b. 2rd pmsg is unaligned issue.
c. destroy u0 ethernet resource after removing dongle.
2023-09-07 15:07:04 +08:00
sakimisu
9029f8c5b1
fix warning
2023-08-27 13:38:13 +08:00
heyuanjie87
2789633b50
[hub 修正] 快速断开的情况下无法处理断开事件
2023-08-13 09:40:01 +08:00
sakimisu
c8b832e1a0
fix function name
2023-08-05 11:08:24 +08:00
sakimisu
3057f41020
use static memory to malloc & free class
2023-07-12 22:48:18 +08:00
sakimisu
47c0255cdc
fix rt-thread once thread delete
2023-07-12 21:48:18 +08:00
sakimisu
7574063e94
enum device with disposable thread, do not block hub thread
2023-07-05 22:53:13 +08:00
sakimisu
3aeadb3046
fix build error
2023-04-29 15:17:59 +08:00
sakimisu
773cad823f
align hub intbuf
2023-04-22 14:23:26 +08:00
sakimisu
5657b2a028
update hub process for usb3.0, update xhci driver
2023-04-21 23:43:59 +08:00
sakimisu
dc4887aef1
fix pointer in 64bit cpu, use uintptr_t instead
2023-04-21 23:24:13 +08:00
sakumisu
0322934cf4
fix warning when use no ext hub
2023-03-17 10:23:18 +08:00
sakumisu
5e406f41c1
move ep0 active into hub event
2023-02-23 17:55:11 +08:00
sakumisu
75ddfc8e4d
move hub and hport variable into common ram to reduce nocache ram usage
2023-02-18 15:19:52 +08:00
sakumisu
1df1fefa39
fix no exthub build error
2023-01-10 15:01:50 +08:00
sakimisu
f45e0f47fa
rename class info name
2022-12-31 15:55:07 +08:00
sakimisu
62276b1e8b
optimise hub debounce process
2022-12-31 14:09:23 +08:00
sakimisu
902f1da407
release sources when enable port fails
2022-12-30 20:57:54 +08:00
sakimisu
843af28b2b
update hub thread wakeup with queue not sem&list
2022-12-11 20:27:18 +08:00
sakumisu
9b72a17a5b
Preventing resources from not being released
2022-12-03 19:39:27 +08:00
sakumisu
ed323a6fa4
disable ext hub when CONFIG_USBHOST_MAX_EXTHUBS = 0
2022-12-03 19:31:39 +08:00