Commit Graph

60 Commits

Author SHA1 Message Date
sakumisu
190fb36c43 add hid host report api 2024-04-23 22:02:16 +08:00
sakumisu
d1c7fa8c19 support multi port api for device 2024-02-06 19:52:22 +08:00
sakumisu
eeb304ae08 update log tag 2024-01-30 23:04:35 +08:00
sakumisu
14f1f597f1 add usb errno, do not use system errno 2023-12-05 21:34:32 +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
sakimisu
c8b832e1a0 fix function name 2023-08-05 11:08:24 +08:00
Chen Leeren
45ea9928bc Fix the callback api in usbd_hid.c 2023-07-21 12:38:23 +08:00
sakimisu
3057f41020 use static memory to malloc & free class 2023-07-12 22:48:18 +08:00
sakimisu
e77657e723 extend report length 2023-05-26 19:31:38 +08:00
sakumisu
bfb8146699 fix hid get report len 2023-05-24 16:40:13 +08:00
sakimisu
9172223fe6 call usbh_xxx_stop when class enumerates completely 2023-05-17 20:43:23 +08:00
sakimisu
cbba334678 fix typo 2023-03-08 22:31:19 +08:00
sakumisu
75ddfc8e4d move hub and hport variable into common ram to reduce nocache ram usage 2023-02-18 15:19:52 +08:00
sakimisu
db330b42e7 add class only match 2022-12-31 16:27:38 +08:00
sakimisu
512de54d33 add host class run and stop callback 2022-11-26 23:52:58 +08:00
sakumisu
dca8b4cfed remove intf malloc 2022-10-20 21:22:08 +08:00
sakumisu
7485710fff ignore set_idle when fails 2022-10-01 16:17:42 +08:00
sakumisu
212a727cbd remove irq protect when allocates devnum 2022-10-01 16:15:53 +08:00
sakumisu
7021e0b096 fix hid duration 2022-09-25 17:32:27 +08:00
zhugengyu
bec72e5d4c xhci keyboard and mouse ok 2022-09-22 22:12:09 +08:00
sakumisu
b25b0f0b6c add interface altsetting struct 2022-09-14 20:33:13 +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
cb2510f121 remove custom handler, split class handler into interface and endpoint
handler
2022-09-08 21:44:56 +08:00
sakumisu
3c94fca8d8 refactor usb device intf and ep register 2022-08-20 18:08:36 +08:00
sakumisu
523d33506d give up class register 2022-08-19 23:34:35 +08:00
sakumisu
2d5e3cb9f0 delete hid state 2022-08-18 21:55:15 +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
8283bb1c80 merge class rx setup functions into one 2022-07-31 20:43:43 +08:00
sakumisu
f1bc0aef04 refactor dcd api and ep in/out irq callback process 2022-07-28 21:35:22 +08:00
sakumisu
020e99c524 update hid functions register 2022-06-28 20:38:06 +08:00
sakumisu
224c26bc23 delete unused ret 2022-06-16 22:23:43 +08:00
sakumisu
e922b589f8 fix warnings 2022-06-15 22:14:53 +08:00
sakumisu
56364f2903 alloc class name after the necessary commands are completed 2022-05-22 17:09:47 +08:00
sakumisu
a5ee5b4152 Standardized function parameter with xxx_class 2022-04-04 15:37:14 +08:00
sakumisu
c1f6b86bcf add class driver export macro control 2022-04-04 13:11:44 +08:00
sakumisu
86c0531cf9 fix size_t compile error 2022-04-01 23:09:03 +08:00
xieyangrun
322964f598 fixed osal critical section protect adapt 64bits CPU. 2022-03-31 18:40:11 +08:00
aozima
3cce9e7d78 clean compiler warning. 2022-03-27 14:58:25 +08:00
jzlv
563888ec14 update class driver info,support class driver export 2022-03-23 17:30:53 +08:00
aozima
5e455c2331 update host class driver struct: add hport. 2022-03-19 12:26:37 +08:00
sakumisu
ba8c528918 use hport setup to replace class setup,move out test demo 2022-02-24 12:29:06 +08:00
sakumisu
739d83a8a9 fix struct name due to copy error 2022-02-14 14:57:20 +08:00
sakumisu
0ec3c5e4ef complete async callback process for print received data 2022-02-13 14:33:59 +08:00
sakumisu
ae5c691587 add static to embelish request handler 2022-02-12 18:49:06 +08:00
sakimisu
1edbae8e07 format codes 2022-02-08 11:44:46 +08:00
sakumisu
1cb56fe0ef replace ssize_t with int 2022-02-07 17:32:36 +08:00
sakumisu
3715384fee replace ssize_t with int 2022-02-06 19:01:24 +08:00
sakimusu
b44617212b add usb host stack(class not release completely) 2022-02-01 23:02:59 +08:00