sakumisu
7989708bfe
add dhcp timer for getting ip addr
2023-11-20 16:59:18 +08:00
sakumisu
07fa211f40
remove rndis code in third party because it is implemented internally
2023-11-17 23:37:15 +08:00
sakumisu
73eb69bfa2
remove usb_mem.h
2023-11-17 21:05:31 +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
c1435548e7
release v0.10.2
v0.10.2
2023-11-15 22:02:16 +08:00
sakumisu
a8d40eb706
fix ecm mac buffer size
2023-11-15 22:02:07 +08:00
zhugengyu
aeffaea016
add pusb2 port, fix issue for rt-thread, add msc storage demo for rt-thread
2023-11-15 16:48: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
1c31156a37
add ms os request
2023-11-13 19:51:53 +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
d10cbd5daf
check if token is active without errors, if token has errors, go to wakeup sem
2023-11-13 19:49:49 +08:00
sakumisu
40a019e063
add ecm host demo
2023-11-13 19:49:27 +08:00
sakumisu
2080cf1206
add usbh_set_interface api
2023-11-11 14:00:29 +08:00
Yang Xijing
ae521bf95c
add nuvoton port(not release)
2023-11-05 14:38:26 +08:00
sakumisu
a2f7b67dc4
update config rst
2023-11-04 17:16:43 +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
c37c60c7c7
add usbh_get_string_desc api
2023-11-04 15:24:15 +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
sakumisu
cf4dfde49d
update quick start, add readthedocs yaml
2023-10-13 20:39:11 +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
Chen Leeren
3d96f64f94
Fix possible errors in endpoint 0 datapid
2023-10-07 23:46:28 +08:00
sakumisu
a746eb4bb1
update demo version
2023-10-05 17:12:32 +08:00
sakumisu
c84e769f78
remove ununsed input variable
2023-09-30 22:01:12 +08:00
helloeagleyang
d11260ef67
[common] Avoid IAR compiling error on USB HOST stack
...
- Avoided using a structure with zero-length array as a field in another
structure when IAR toolchain is used.
Signed-off-by: helloeagleyang <helloeagleyang@163.com >
2023-09-18 00:10:39 +08:00
Wayne Lin
e6193bd131
Revert original parameter.
2023-09-07 15:07:04 +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
bc1e7c4bd5
ignore dwc2 EPENA check
2023-09-04 15:43:32 +08:00
Runcheng Lu
7d76b4bae1
third_party: rtthread: add rndis to adapt lwip2.1.2
2023-09-01 16:13:34 +08:00
sakumisu
7c0ef50bb3
release v0.10.1
v0.10.1
2023-08-30 20:05: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
Zhihong Chen
b9915e0e1b
port: hpmicro: separate host and device USB instance config
...
- separate host and device USB instance config
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2023-08-26 12:45:31 +08:00
sakimisu
1387790744
add config for hpmicro usb instance and irq
2023-08-26 01:09:33 +08:00
sakimisu
c5fc9f338e
fix macro spelling
2023-08-25 21:37:14 +08:00
sakimisu
4d61e5e053
copy bouffalo ehci glue from official sdk
2023-08-25 21:36:58 +08:00
sakimisu
1a7259649b
standardize video control api
2023-08-25 21:36:27 +08:00
sakimisu
628e4ee928
improve ehci driver, enable iaad feature
2023-08-25 21:36:14 +08:00
sakimisu
749369b6fc
remove usb_phy_init, because hpm sdk v1.2 implement it
2023-08-25 21:35:42 +08:00
Fan YANG
89cd77374c
common: Add support for IAR for risc-v toolchain
...
- Added support for the IAR for risc-v toolchain
Signed-off-by: Fan YANG <fan.yang@hpmicro.com >
2023-08-18 23:33:02 +08:00
sakumisu
3792ad4905
add test scripts
2023-08-15 14:33:54 +08:00
heyuanjie87
2789633b50
[hub 修正] 快速断开的情况下无法处理断开事件
2023-08-13 09:40:01 +08:00
sakimisu
94505f9e41
change rndis_encapsulated_resp_buffer size to 156
v0.10.0
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