Commit Graph

47 Commits

Author SHA1 Message Date
sakumisu
10437a7d13 update(core/usbh_core): do not use slist, we use recursion 2024-06-22 15:44:09 +08:00
sakumisu
b4d54d2aa6 fix(core/usbh_core): fix get mult 2024-06-16 18:11:04 +08:00
sakumisu
935325175f remove old xhci patch 2024-06-07 21:51:33 +08:00
sakumisu
2d63b52d0b feat: use fast memcpy for net 2024-05-31 22:31:43 +08:00
sakumisu
5fec929b93 support id table for multi vid pid 2024-05-03 18:54:36 +08:00
Zhihong Chen
9145add9af core: host: add "." to section usbh_class_info for IAR
- add "." to section usbh_class_info for IAR

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-03-18 19:20:30 +08:00
sakumisu
2660af5d87 add timer to control interrupt transfer 2024-03-14 19:31:52 +08:00
sakumisu
e0551b3e7b config busid and regbase in usbh_initialize and usbd_initialize 2024-02-18 21:15:04 +08:00
Zhihong Chen
6bc6b06076 usbh_core: add iar risc-v support
- add iar risc-v support

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-01-14 17:00:40 +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
50e1cd3471 add mutex for ep0 urb to avoid multithreading 2023-11-22 21:44:51 +08:00
sakumisu
9ea2121c7c make hub_set_feature and hub_clear_feature api public 2023-11-20 22:15:43 +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
2080cf1206 add usbh_set_interface api 2023-11-11 14:00:29 +08:00
sakumisu
c37c60c7c7 add usbh_get_string_desc api 2023-11-04 15:24:15 +08:00
sakimisu
7574063e94 enum device with disposable thread, do not block hub thread 2023-07-05 22:53:13 +08:00
sakimisu
5657b2a028 update hub process for usb3.0, update xhci driver 2023-04-21 23:43:59 +08:00
sakimisu
cc4ed56a88 format code 2023-02-18 19:20:35 +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
921ed9b697 Revert "check if hport is null"
This reverts commit 63bc4e9363.
2023-02-09 21:13:12 +08:00
sakumisu
63bc4e9363 check if hport is null 2023-02-05 14:39:08 +08:00
biyq
9bcea9ae37 1. support for iar in situation of usb host application 2022-12-15 20:19:42 +08:00
sakimisu
843af28b2b update hub thread wakeup with queue not sem&list 2022-12-11 20:27:18 +08:00
sakimisu
61e82e0eeb remove device mount and unmount callback 2022-11-21 21:59:37 +08:00
sakumisu
ee026096b1 remove bulk_transfer and intr_transfer 2022-10-07 21:44:43 +08:00
sakumisu
85c0f658da fix pipe param type in usbh_hport_activate_epx 2022-09-27 19:34:24 +08:00
sakumisu
bd40ff0660 record raw config descriptors 2022-09-23 22:13:40 +08:00
sakumisu
09c6f2b655 add urb for msc class 2022-09-15 20:46:14 +08:00
sakumisu
b25b0f0b6c add interface altsetting struct 2022-09-14 20:33:13 +08:00
sakumisu
7990ee9747 complete hub intr transfer 2022-09-09 22:18:02 +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
de5ca1313a revert dot in keil 2022-09-01 22:04:24 +08:00
sakumisu
7377b5183d Simplify the license rows, standardize header macro name 2022-08-18 21:41:19 +08:00
sakumisu
0bbced8733 update usbh_class info section 2022-08-12 23:26:40 +08:00
sakumisu
628ee1f74d add mount callback for device, move tests in mount callback 2022-08-12 21:35:17 +08:00
sakumisu
88f710458c delete workq 2022-08-12 21:34:47 +08:00
sakumisu
ad17e1f40f move log macros into usb_log.h,adjust header file inclusion order 2022-06-04 21:07:47 +08:00
sakumisu
a843e61791 fix linkscript for clang and ccarm 2022-03-23 20:33:55 +08:00
jzlv
563888ec14 update class driver info,support class driver export 2022-03-23 17:30:53 +08:00
jzlv
c44a26d69f psc thread use event instead,add timeout for transfer 2022-03-23 14:47:18 +08:00
sakumisu
fd574baeb7 fix critical section wrong use 2022-03-17 16:40:54 +08:00
sakumisu
ba8c528918 use hport setup to replace class setup,move out test demo 2022-02-24 12:29:06 +08:00
sakimisu
1edbae8e07 format codes 2022-02-08 11:44:46 +08:00
sakimusu
b44617212b add usb host stack(class not release completely) 2022-02-01 23:02:59 +08:00