Commit Graph

50 Commits

Author SHA1 Message Date
sakimisu
e475dd730b only support one config 2023-01-15 16:36:16 +08:00
sakimisu
b0e1cf4c02 add CONFIG_USBDEV_ADVANCE_DESC macro 2023-01-07 17:07:56 +08:00
sakimisu
55e4adccd6 reduce print log 2023-01-07 17:02:52 +08:00
sakimisu
5f39f6dce9 remove align check, memcpy as default 2023-01-07 14:03:39 +08:00
sakimisu
3b5cb7603f ignore get device quality cmd error in full speed 2023-01-03 22:38:58 +08:00
sakimisu
43a45fc2fc add usb tx rx thread for device 2022-12-11 21:43:29 +08:00
sakimisu
16f55a5a19 split other_speed with fs and hs 2022-11-28 21:56:30 +08:00
sakimisu
24f854d209 add another desc register api 2022-11-19 21:51:38 +08:00
sakumisu
0541183aec fix warning 2022-10-06 22:27:56 +08:00
sakumisu
cf2fa1503c add usb device deinit function 2022-09-24 23:23:34 +08:00
sakumisu
cb2510f121 remove custom handler, split class handler into interface and endpoint
handler
2022-09-08 21:44:56 +08:00
sakumisu
a74013ca06 check if the ep0 request data len is overflow 2022-08-21 18:10:43 +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
8798200305 add test mode for feature test 2022-08-18 21:48:27 +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
8283bb1c80 merge class rx setup functions into one 2022-07-31 20:43:43 +08:00
sakumisu
b835c9ccd2 add nocache ram config when enable dcache 2022-07-31 18:40:45 +08:00
sakumisu
f1bc0aef04 refactor dcd api and ep in/out irq callback process 2022-07-28 21:35:22 +08:00
sakumisu
a22d100ca2 remove list search mode 2022-07-19 19:08:58 +08:00
sakumisu
ed37802600 update usb core macros 2022-06-28 20:40:59 +08:00
sakumisu
f1393231f0 remove surplus log 2022-06-27 22:28:10 +08:00
sakumisu
b47fe8d958 fix warning in 64bit cpu 2022-06-25 22:46:57 +08:00
Li.XiongHui
2bd38a0e1c fix type wrong for ep argument on usbd_ep_in_handler and usbd_ep_out_handler function 2022-06-23 10:26:52 +08:00
liuhy-2020
22ad2d471c handle USB_DESCRIPTOR_TYPE_OTHER_SPEED
[usbd_get_descriptor]: handle USB_DESCRIPTOR_TYPE_OTHER_SPEED.
2022-06-17 16:28:18 +08:00
sakumisu
9c5db7d4df copy data from misalign addr to align32 addr when use dma with dcache 2022-06-15 21:05:23 +08:00
sakumisu
2e7a69aeaa use ep open and close return value 2022-06-05 16:45:26 +08:00
sakumisu
66abda8576 fix warning 2022-04-15 21:59:38 +08:00
sakumisu
97ddd9803a fix warning 2022-04-15 15:35:28 +08:00
sakumisu
c6495ac5af fix duplicate calls to the class notify handler when class has multiploe
intfs
2022-04-14 16:20:09 +08:00
sakumisu
e463be8305 add test mode when using feature cmd 2022-04-08 15:07:32 +08:00
sakumisu
4b68c74f5e fix no newline warning 2022-03-11 21:14:45 +08:00
sakumisu
0cee453c74 move ep macros into usb_def.h 2022-03-11 17:29:22 +08:00
sakumisu
96b92efbcb add usb_dc_init declare in usb_dc.h,and add usbd_initialize to call it 2022-03-10 19:10:00 +08:00
sakumisu
948b2c39d9 add macros for high speed iso and intr transfer with additional transaction 2022-02-24 16:23:11 +08:00
sakumisu
dddd4e4c3c gdd memory align32 for variable in structure 2022-02-24 12:28:51 +08:00
sakumisu
ba3fceeb87 fix ep0 zlp send judgement 2022-02-17 13:32:53 +08:00
sakimisu
1edbae8e07 format codes 2022-02-08 11:44:46 +08:00
sakimusu
f8ea5c12fa rename paramater named class with devclass instead 2022-02-01 22:00:10 +08:00
sakumisu
c5bfeed867 update license 2022-01-15 17:13:57 +08:00
sakumisu
95f3b81cfd add usb debug level control and color display 2022-01-15 17:07:54 +08:00
sakumisu
c3cc88d95f fix doxygen user name 2021-12-04 14:39:35 +08:00
sakumisu
a33973a52c rename request recipient macro 2021-11-29 16:20:48 +08:00
sakumisu
636b30c3d8 refactor usb class structure 2021-11-29 10:32:05 +08:00
sakumisu
0b056ae3fd fix zlp process, when ep0_data_len is zero 2021-11-16 10:27:38 +08:00
sakumisu
10da78cb0b format code 2021-11-16 10:26:46 +08:00
sakumisu
5a22e7a57b modify print log,add USBD_LOG_INFO forever print 2021-11-14 21:14:51 +08:00
sakumisu
0672902d62 add usb hs support,add bos and msosv2 descriptor register 2021-09-28 10:51:20 +08:00
jzlv
8a143df509 first commit 2021-07-10 18:31:58 +08:00