sakumisu
77136aa743
update(core/usbd_core): implement USB_REQUEST_GET_INTERFACE request, refs:#268
2024-10-30 22:19:14 +08:00
sakumisu
4784017f56
chore: update comment
2024-10-30 21:04:06 +08:00
sakumisu
0d65bbc6ba
fix(core/usbd_core): reset endpoint only for altsetting 0, refs:#258
2024-09-27 19:02:28 +08:00
sakumisu
02340e0f44
chore: static code analysis
2024-09-19 09:50:18 +08:00
Zhihong Chen
f5ce56990c
usbd_core: add usb_device_is_suspend() API
...
- add usb_device_is_suspend() API
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2024-08-26 11:10:28 +08:00
sakumisu
35da8d6747
fix: fix -Wunused-parameter warning with -Wextra cflag
2024-08-21 20:08:47 +08:00
zhugengyu
18d9c21553
Add PUSB2 and XHCI driver and RTOS glue ( #236 )
2024-08-09 22:43:22 +08:00
LiPeng
dfc90da28a
Fix the bug that USBD_EVENT_DEINIT was not notified correctly
2024-08-06 14:10:07 +08:00
sakumisu
564d568732
fix(core/usbd_core): fix self powered check
2024-07-30 17:46:02 +08:00
sakumisu
bef45dc360
feat(port): add remote wakeup api
2024-07-26 22:02:01 +08:00
sakumisu
50b62c946d
feat(core/usbd_core): support webusb
2024-07-25 21:39:36 +08:00
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
7fab3c29f0
feat(port): implement usbd_ep_is_stalled api
2024-07-08 21:54:39 +08:00
sakumisu
69fe1598ed
update(core/usbd_core): increase intf array from 8 to 16
2024-06-23 13:50:23 +08:00
sakumisu
bf8e092627
remove print log for device, because we do not allow printf in isr
2024-06-14 10:02:12 +08:00
sakumisu
5dafdcb895
fix warning
2024-05-21 10:10:31 +08:00
sakumisu
66b893e64f
update: add langid in string desc
2024-05-17 22:18:21 +08:00
sakumisu
13e4670f3d
update: remove internal configs, you should get config from usb_config.h
2024-05-17 17:04:53 +08:00
sakumisu
af92236cf4
refactor(core/usbd_core): process string internal, you can use like \"cherryusb\" now
2024-05-16 11:19:58 +08:00
sakumisu
775ac135de
bugfix by ccef9b92
2024-05-10 11:36:17 +08:00
sakumisu
ccef9b92cc
bugfix for 183d49, add CONFIG_USBDEV_EP0_INDATA_NO_COPY
2024-05-03 14:07:26 +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
183d49efbd
copy data into ep0 buffer at a unified location
2024-04-30 14:21:31 +08:00
sakumisu
2f5f2b906f
add usbd_get_ep_mult api
2024-04-29 14:11:24 +08:00
sakumisu
45e9a2fde8
add usbd_get_ep_mps api
2024-04-29 11:32:54 +08:00
sakumisu
5b72907f6d
simplify code for get device qualifier desc
2024-04-29 11:29:52 +08:00
sakumisu
694b201ff7
move get speed before get device desc
2024-04-25 21:11:55 +08:00
sakumisu
8625e4409e
support speed get in when enables CONFIG_USBDEV_ADVANCE_DESC
2024-04-24 22:10:47 +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
Zhihong Chen
4803a6826b
update endpoint number usage and fix busid check
...
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2024-02-19 20:19:48 +08:00
sakumisu
e0551b3e7b
config busid and regbase in usbh_initialize and usbd_initialize
2024-02-18 21:15:04 +08:00
sakumisu
d1c7fa8c19
support multi port api for device
2024-02-06 19:52:22 +08:00
Zhihong Chen
3f89d1b003
usbd: change endpoint number from 8 to 16
...
- Because the maximum number of endpoints specified in the USB protocol is 16, and some vendors support 16 endpoints
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2024-02-06 18:31:47 +08:00
sakumisu
0f5e05052f
add usbd init and deinit event macro
2024-01-16 22:50:48 +08:00
sakumisu
44e9c1cf4f
register desc with callback when enable CONFIG_USBDEV_ADVANCE_DESC
2023-12-20 20:24: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
sakimisu
14f5dd2dd3
implement msc device thread,remove other unused os thread
2023-08-29 14:40:03 +08:00
sakumisu
c8ecf31c99
remove ununsed code
2023-07-13 20:13:51 +08:00
sakimisu
7061367484
support multi winusb
2023-06-28 22:59:22 +08:00
sakimisu
340fa4e024
use usbd_event_handler instead of usbd_configure_done_callback
2023-06-21 21:26:25 +08:00
sakimisu
c540080c96
format class struct and global variable name
2023-06-21 20:43:06 +08:00
sakimisu
85a494326a
check intf num when arg is valid
2023-06-06 22:22:46 +08:00
sakimisu
c1fbb4ae56
copy desc into nocache ram
2023-05-26 19:33:30 +08:00
sakimisu
3861728751
add remote wakeup event
2023-05-17 20:59:38 +08:00
sakimisu
ca5d2902f3
do not check intf when calls endpoint handler
2023-04-22 00:00:33 +08:00
sakimisu
dc4887aef1
fix pointer in 64bit cpu, use uintptr_t instead
2023-04-21 23:24:13 +08:00
sakimisu
25d14f3f89
copy desc into align buf
2023-03-25 00:02:30 +08:00
sakumisu
d7c0add7ef
add usbd_event_handler for users
2023-03-22 15:00:34 +08:00
sakimisu
cbba334678
fix typo
2023-03-08 22:31:19 +08:00
sakimisu
201b3ebb2c
add webusb support
2023-01-29 16:15:28 +08:00