28 Commits

Author SHA1 Message Date
7YZ7
501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
tyx
13f8a99e46 [drivers][usb] Fix compilation warning 2022-04-23 23:08:47 +08:00
dillon-min
247df39bfe
Merge branch 'master' into comp 2021-03-16 20:15:43 +08:00
Dillon Min
9789e4c930 component: driver: usb: enlarge uconfig_descriptor's data array space
if you add more compositive usb device(more than 4), the data[256]
can't hold all the devices's config information, array out of bounds.

Fixes: 60c27fc4b ("add USB composite and mass storage class features in USB device stack")
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
2021-03-12 16:30:39 +08:00
Meco Man
3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
tangweikang
b2a9b8308e [components][usb] word error : PROERTY -> PROPERTY 2020-08-04 11:01:22 +08:00
zyh
d950ffc485 [Components][USB]修复拼写错误 2018-10-26 11:41:54 +08:00
liruncong
d3764db892 解决以下问题:
1) usb驱动中时间未与RT_TICK_PER_SECOND关联问题,RT_TICK_PER_SECOND变化时,这些时间将发生变化
解决: 增加USB_TIMEOUT_BASIC/USB_TIMEOUT_LONG/USB_DEBOUNCE_TIME
2) 修正rt_usbh_detach_instance函数使用device->cfg_desc前未判断是否有效. 可导致abort
3) rt_usbh_hub_port_change增加device->port初始化,否则struct uhcd_ops相关函数无法直接得到端口号
2018-10-23 20:04:51 +08:00
Bernard Xiong
2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
zyh
151330b721 [Components][USB][Device]Support customer HID class|支持自定义HID设备 2018-07-04 14:13:09 +08:00
uestczyh222
049ed5047f [Components][USB][DFS][usb minimize stack size dfs fix build error
without finsh]
2017-12-07 07:24:37 +08:00
MiraculousConch
d40d5355b8 [Components][Drivers][USB]WinUSB And Core update
协议栈增加允许class在windows环境下枚举时向系统注册附加属性。并在winusb class中提供范例(注册GUID信息)
2017-11-28 03:02:48 +08:00
uestczyh222
cfc0304be5 [Compinents][USB]增加USB协议栈对微软OS描述符的支持,修复HID class的IAD接口,增加免驱新class WinUSB 2017-11-23 00:38:56 +08:00
uestczyh222
e365ff5473 [Components][Drivers][USB][HID]Update to common hid 2017-11-16 19:05:17 +08:00
uestczyh222
a3808362ac [Components][Drivers][USB]fix usb device core 2017-11-15 20:54:54 +08:00
tangyuxin
cc54e0a74e [usb]update usb stack 2017-11-11 10:53:08 +08:00
shaolin
64a2902fa9 1. Fix some spell error;
2. Fix data transfer size calculate error issue;
2014-07-13 17:19:34 +08:00
shaolin
8fd0a7f9c6 Update USB Device Stack to support more device controllers;
Pass USB CV test verification;
Code cleanup;
2014-02-16 17:42:35 +08:00
yiyue.fang
3359419d4f additional update 2013-06-28 00:39:11 +08:00
heyuanjie87
02869d7e67 udisk can be eject 2013-06-15 23:02:50 +08:00
heyuanjie87
8b4aadb4db add usb state 2013-05-17 20:53:05 +08:00
Grissiom
f0d50a7b36 usbdevice/core: use static thread instead of dynamic thread
It also add two configurations for the USB device even loop thread:

    RT_USBD_THREAD_STACK_SZ to set the stack size, default to 2048
    RT_USBD_THREAD_PRIO     to set the priority, default to 8

You can overwrite the default values in rtconfig.h
2013-05-12 15:43:29 +08:00
heyuanjie87
7b2929303e revert some define to usb_common.h 2013-01-11 00:02:40 +08:00
heyuanjie87
d84fde4e54 revert the define 2013-01-09 18:56:31 +08:00
heyuanjie87
6b0b2d51e3 move the define related to Mass to mstorage.h 2013-01-09 12:12:25 +08:00
Ming, Bai
b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
qiuyiuestc@gmail.com
60c27fc4b5 add USB composite and mass storage class features in USB device stack
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2447 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-25 00:02:10 +00:00
qiuyiuestc@gmail.com
c752d9b095 submit the first version usb device stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 17:06:30 +00:00