Commit Graph

85 Commits

Author SHA1 Message Date
sakumisu
1a9c1481f4 feat(core/usbd_core): support get hid desc request(0x21), support get status for remote wakeup & self powered 2024-07-11 13:58:16 +08:00
sakumisu
3bf74d2101 fix(common/usb_memcpy): fix warning in 64bit 2024-06-22 17:19:20 +08:00
sakumisu
0cb245e6d3 fix(common/usb_memcpy): fix missing USB_MEMCPY_H 2024-06-17 21:09:06 +08:00
sakumisu
e9a7eb9eeb fix warning 2024-06-14 00:25:07 +08:00
sakumisu
bf54bc2ff1 update(port/ehci): use static iso pool for iso urb to reduce alloc time 2024-06-11 21:59:37 +08:00
sakumisu
2d63b52d0b feat: use fast memcpy for net 2024-05-31 22:31:43 +08:00
sakumisu
b1c81a92f5 fix warning 2024-05-16 20:47:37 +08:00
sakumisu
18c4454228 add nuttx osal 2024-05-09 10:45:27 +08:00
Zhihong Chen
9cb992bed7 add USB_DEVICE_QUALIFIER_DESCRIPTOR_INIT and USB_OTHER_SPEED_CONFIG_DESCRIPTOR_INIT macros
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-04-30 20:05:57 +08:00
sakumisu
2da4edf76b remove port param in usbd_get_port_speed 2024-04-29 11:35:29 +08:00
sakumisu
2660af5d87 add timer to control interrupt transfer 2024-03-14 19:31:52 +08:00
Zhihong Chen
bba4b46fa4 update usb test mode
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-03-13 19:25:07 +08:00
sakumisu
9e0cc8347c align for some buffers 2024-02-24 16:38:57 +08:00
sakumisu
d1c7fa8c19 support multi port api for device 2024-02-06 19:52:22 +08:00
sakumisu
1158fc3d8c support multi USB IP for host 2024-01-08 22:47:28 +08:00
sakumisu
f68a86ea89 add usbh_deinitialize api 2023-12-24 23:37:47 +08:00
sakumisu
29d45ef5c7 replace struct usbd_endpoint_cfg with struct usb_endpoint_descriptor in usbh_ep_open api 2023-12-10 22:34:01 +08:00
sakumisu
14f1f597f1 add usb errno, do not use system errno 2023-12-05 21:34:32 +08:00
sakumisu
48730e20be add usb_osal_sem_reset api 2023-12-05 20:49:26 +08:00
sakumisu
73eb69bfa2 remove usb_mem.h 2023-11-17 21:05:31 +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
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
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
sakimisu
b90d6a727e update double winusb demo 2023-06-30 23:53:23 +08:00
sakimisu
7061367484 support multi winusb 2023-06-28 22:59:22 +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
d7c0add7ef add usbd_event_handler for users 2023-03-22 15:00:34 +08:00
sakimisu
4cd9031d31 replace speed reconfig with mult 2023-03-12 15:05:35 +08:00
sakimisu
201b3ebb2c add webusb support 2023-01-29 16:15:28 +08:00
sakimisu
b461821639 add get frame number api 2022-12-31 14:11:18 +08:00
biyq
9bcea9ae37 1. support for iar in situation of usb host application 2022-12-15 20:19:42 +08:00
sakimisu
9291c1459c add ep mult support 2022-11-19 21:51:38 +08:00
sakimisu
cf97d5276e add usbd_get_port_speed api to use different config descriptors 2022-11-19 21:51:38 +08:00
sakimisu
66db88b7cd move malloc,free,printf macro into config.h 2022-11-06 16:31:34 +08:00
sakumisu
3b318d1eea add config for system errno.h 2022-10-14 21:09:21 +08:00
sakumisu
7bcd8d0532 remove duplicate macros 2022-10-14 21:08:04 +08:00
sakumisu
b7563385da fix gcc extension warning 2022-09-25 17:55:35 +08:00
sakumisu
48c6079c71 fix macro value 2022-09-25 17:55:15 +08:00
sakumisu
4109adf616 add iso config in urb 2022-09-24 14:26:44 +08:00
zhugengyu
e2a4fb11d8 update 2022-09-22 22:12:09 +08:00
sakumisu
887dbd33e3 add usb3.0 speed support 2022-09-17 21:58:06 +08:00
sakumisu
68e7129dab add mult config 2022-09-14 20:33:32 +08:00
sakumisu
f630da7583 give up dcache enable macro 2022-09-12 14:59:29 +08:00
sakumisu
62d0000926 refactor usb host stack: hcd api, hub process and usb no cache ram process 2022-09-09 19:09:22 +08:00
sakumisu
129f45eb71 delete dupliate 2022-08-23 19:16:09 +08:00
sakumisu
7377b5183d Simplify the license rows, standardize header macro name 2022-08-18 21:41:19 +08:00
sakumisu
54c52944d2 remove comments to reduce rows 2022-08-17 20:12:37 +08:00
sakumisu
628ee1f74d add mount callback for device, move tests in mount callback 2022-08-12 21:35:17 +08:00
sakumisu
7ade4dfc98 use usb_iomalloc when alignsize is not equal 4 2022-08-10 21:41:11 +08:00