Commit Graph

744 Commits

Author SHA1 Message Date
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
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
Zhihong Chen
4777a65f54 ehci: update hardcode for hpmicro
- should define CONFIG_USB_EHCI_HPMICRO and CONFIG_HPM_USB_BASE in usb_config.h

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-08-01 20:10:02 +08:00
sakimisu
96c0b655fd update version 0.10.0 2023-07-29 17:05:21 +08:00
sakimisu
61da3794cf update device api 2023-07-29 16:09:23 +08:00
Chen Leeren
45ea9928bc Fix the callback api in usbd_hid.c 2023-07-21 12:38:23 +08:00
sakimisu
64e2b8d480 update hid inout demo 2023-07-20 22:03:45 +08:00
sakumisu
fed6f26ebd fix log 2023-07-14 17:58:39 +08:00
sakimisu
513772a534 update doc 2023-07-13 20:34:11 +08:00
sakumisu
e45a2857df fix missing function 2023-07-13 20:14:28 +08:00
sakumisu
c8ecf31c99 remove ununsed code 2023-07-13 20:13:51 +08:00
sakimisu
4395c7f039 update device & host usage 2023-07-13 19:36:31 +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