sakumisu
e201439722
create lwip rx thread by user
2023-12-19 21:38:55 +08:00
sakumisu
7b936db889
remove vendor host class because its version is too old
2023-12-16 23:22:41 +08:00
sakumisu
8f991699cb
remove mtp & printer class
2023-12-16 17:20:52 +08:00
sakumisu
b1e95f0ca3
update hc template
2023-12-05 21:34:51 +08:00
sakumisu
14f1f597f1
add usb errno, do not use system errno
2023-12-05 21:34:32 +08:00
sakumisu
d414fd21d8
add config for rndis & ecm thread
2023-12-01 20:43:13 +08:00
sakumisu
84299ce80b
delete lwip rx thread in self
2023-11-24 21:11:05 +08:00
sakumisu
50e1cd3471
add mutex for ep0 urb to avoid multithreading
2023-11-22 21:44:51 +08:00
sakumisu
b7d02b7125
reset rx length when pbuf allocs failed
2023-11-22 21:43:57 +08:00
sakumisu
18eed18413
add some delay to avoid too much error log when device is disconnected
2023-11-22 19:28:30 +08:00
sakumisu
03db11f4af
add ecm and rndis thread delete for dynamic netif
2023-11-22 19:28:30 +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
a8d40eb706
fix ecm mac buffer size
2023-11-15 22:02:07 +08:00
sakumisu
9ce7b0ceb7
fix rndis query & set msg wLength, only support one rndis device
2023-11-13 20:03:35 +08:00
sakumisu
e795ab73a0
check and execute modeswitch first
2023-11-13 19:50:37 +08:00
sakumisu
5e689dfe15
fix class api name
2023-11-13 19:50:04 +08:00
sakumisu
40a019e063
add ecm host demo
2023-11-13 19:49:27 +08:00
sakumisu
e79319cac9
add cdc ecm host
2023-11-04 17:16:24 +08:00
sakumisu
7acb667e20
support usb modeswitch
2023-11-04 16:45:20 +08:00
sakumisu
a04b1fa551
add cdc ecm device
2023-11-04 16:44:02 +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
sakumisu
0f2cb9f900
fix warning
2023-08-30 20:03:18 +08:00
sakumisu
7c1fae04b2
fix video packet caculation
2023-08-30 17:43:13 +08:00
sakimisu
14f5dd2dd3
implement msc device thread,remove other unused os thread
2023-08-29 14:40:03 +08:00
sakimisu
9029f8c5b1
fix warning
2023-08-27 13:38:13 +08:00
sakimisu
1a7259649b
standardize video control api
2023-08-25 21:36:27 +08:00
heyuanjie87
2789633b50
[hub 修正] 快速断开的情况下无法处理断开事件
2023-08-13 09:40:01 +08:00
sakimisu
94505f9e41
change rndis_encapsulated_resp_buffer size to 156
2023-08-05 11:11:03 +08:00
sakimisu
c8b832e1a0
fix function name
2023-08-05 11:08:24 +08:00
Zhihong Chen
d3aa9449e1
class: rndis: host: fix function name
...
- fix function name
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2023-08-05 11:05:44 +08:00
Zhihong Chen
4d7938e349
update for midi
...
- add MidiCodeIndexNumber enum
- update midi descriptor. Audio v1.0's endpoint has 9 bytes instead of 7.
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2023-08-05 11:05:44 +08:00
Chen Leeren
45ea9928bc
Fix the callback api in usbd_hid.c
2023-07-21 12:38:23 +08:00
sakumisu
c8ecf31c99
remove ununsed code
2023-07-13 20:13:51 +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
sakumisu
d53e8a2adf
add msc popup function
2023-07-11 22:17:03 +08:00
sakimisu
3bdb3bbf84
clasify vendor driver
2023-07-09 17:57:35 +08:00
lenovo
f672591d58
Silicon Laboratories CP210x USB to RS232 serial adaptor driver is suppported
2023-07-09 00:52:30 +08:00
sakimisu
7574063e94
enum device with disposable thread, do not block hub thread
2023-07-05 22:53:13 +08:00
sakimisu
2ca22deaad
remove unused code
2023-06-21 23:30:44 +08:00
sakimisu
1c7110bd86
refactor audio device class
2023-06-21 20:43:35 +08:00
sakimisu
c540080c96
format class struct and global variable name
2023-06-21 20:43:06 +08:00
sakimisu
d970f88f06
add cdc send break request
2023-06-21 19:39:48 +08:00
sakimisu
2d1b4b8b82
export cdc/msc/rndis/mtp mps, configured by user
2023-06-21 19:39:22 +08:00
Zhihong Chen
16180bfc8e
audio: fix descriptor endpoint attribute error and add audiov2 feedback descriptor
...
- fix descriptor endpoint attribute error and add audiov2 feedback descriptor
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2023-06-02 15:26:32 +08:00
sakimisu
e77657e723
extend report length
2023-05-26 19:31:38 +08:00