Commit Graph

184 Commits

Author SHA1 Message Date
guozhanxin 2f6f9da5e3 fix usbhost issue by #4378 2022-01-26 11:39:39 +08:00
guo 9b44734643
Merge pull request #4378 from LeeChunHei/usbh_construct
添加多過一個usb host的可能性
2022-01-26 10:39:46 +08:00
Meco Man f89a162ea3 [core] 使用rt_memcpy rt_memset代替memcpy memset 2022-01-09 00:23:18 +08:00
nongxiaoming 57165329ac [components][usb] fix compile warning in cdc_vcom.c 2021-12-30 01:38:16 +08:00
tangyuxin a77cc81876 [components][drivers] format file 2021-12-01 14:41:13 +08:00
mazhiyuan f04941c951 [cdc_vcom.c]adapt to both v1 and v2 of serial 2021-10-14 11:42:05 +08:00
mazhiyuan bc5744b1ba 修复cdc_vcom.c中的一些编译问题 2021-10-14 10:58:14 +08:00
mazhiyuan 0a7280f161 修复开启RT_USING_DEVICE_OPS时ecm.c报错 2021-10-14 10:36:38 +08:00
guo 55a302cd09
Merge branch 'master' into usbh_construct 2021-09-28 10:36:54 +08:00
guozhanxin 48bf53b6e0 【完善】uac class, 去除 GPL 代码 2021-04-21 16:39:14 +08:00
dillon-min 247df39bfe
Merge branch 'master' into comp 2021-03-16 20:15:43 +08:00
Dillon Min effcee25b7 component: driver: usb: Add usb interface string(iInterface) setting
To make compositive usb device string more reansonable, not all devices
just show same "RTT Composite Device" on windows device manager.

add a interface rt_usbd_device_set_interface_string to set respective
interface string.

Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-11 17:29:41 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
LeeChunHei 00727d6b6d provide possibility for multi usb host 2021-02-23 17:05:01 +08:00
LeeChunHei e03eaec462 update to new usb api in hid and mouse source file 2021-02-23 13:42:19 +08:00
Bernard Xiong 4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動" 2021-02-23 09:44:27 +08:00
LeeChunHei b51c6339f0 finish testing 2021-02-13 18:50:58 +08:00
LeeChunHei fa5c8e1502 modifly to use multi usb(not tested) 2021-02-13 18:50:47 +08:00
David Lin f086765401
Update cdc_vcom.c 2020-11-21 15:37:45 +08:00
David Lin b10c9b7b63
Update hid.c 2020-11-21 15:36:56 +08:00
David Lin cc6b6a6ee3
Update hid.c 2020-11-21 15:36:26 +08:00
David Lin da464e6cc3
Update mstorage.c 2020-11-21 15:35:53 +08:00
David Lin 107b2063c1
Update winusb.c 2020-11-21 15:32:09 +08:00
David Lin f273e52614
Update audio_speaker.c 2020-11-21 15:30:12 +08:00
David Lin b73775da85
Update audio_mic.c 2020-11-21 15:29:45 +08:00
David Lin 626e8537f0
[components / drivers]update audio_mic.c
1. delete '#include <rtservice.h>', because rtthread.h had include rtservice.h;
2. delete '#include <rtthread.h>', because rtdevice.h had include rtthread.h.
2020-11-21 15:25:27 +08:00
Bernard Xiong 4b2b9a87c6
Merge pull request #3871 from OpenNuvoton/rtt_usbhost_issue
Fix USB host core bugs.
2020-11-07 14:42:37 +08:00
Bernard Xiong aa05fc1469
Merge pull request #3675 from DavidLin1577/patch-10
[drivers/usb]Fixed a bug may cause stackover flow
2020-09-27 08:23:55 +08:00
Bernard Xiong 08688f7095
Merge pull request #3712 from egbert-h/master
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-09-27 08:23:14 +08:00
Wayne Lin f4d86cec7f Fix USB host core issues.
1. Limit >4 USB ports hubs.
2. Double free intf.
3. dname buffer size is too small.
4. Reset child pointer after detaching instance.
2020-09-02 17:49:17 +08:00
tangweikang b2a9b8308e [components][usb] word error : PROERTY -> PROPERTY 2020-08-04 11:01:22 +08:00
hphuang 0bfb881168 merge latest usb class with workaround 2020-07-03 11:13:24 +08:00
hphuang 6cafbf07ce mstorage.c: fix bug in device descriptor that MAC OS enumeration failed. 2020-06-22 15:25:29 +08:00
David Lin 1703c70fd5
[ drivers/usb]Fixed a bug may cause stackover flow 2020-06-10 12:53:51 +08:00
Wayne Lin f0e4009c30 Fix rt_hw_inputcapture_isr public function name in header file.
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-20 16:04:31 +08:00
Wayne Lin 5d65fe074f Merge branch 'master' of https://github.com/rt-thread/rt-thread into rtt_issues 2020-05-15 09:41:27 +08:00
Bernard Xiong 664bc4e9d8
Merge pull request #3569 from egbert-h/master
mstorage.c: fix the issue bug in_read_capacity()
2020-05-01 17:40:02 +08:00
Wayne Lin 39431f5a70 Rename usbd and usbh source files for IAR building issue. 2020-04-30 15:47:42 +08:00
hphuang 9d374f873c mstorage.c: fix the issue that _read_capacity() returns the wrong last valid address of storage medium 2020-04-28 19:07:08 +08:00
DeclanHuaChen 9545529b33 Fix some spelling mistakes 2020-04-11 16:06:32 +08:00
Bernard Xiong 0f57faa591
Merge pull request #3484 from qz721/master
修复USB不能正常识别composite设备的bug
2020-03-30 21:20:02 +08:00
qz721 a49ddaef96
修复USB不能正常识别composite设备的bug 2020-03-26 16:24:10 +08:00
David Lin 985a70ab15
Update hub.c 2020-03-21 20:56:31 +08:00
David Lin 10e0f28754
Update cdc_vcom.c 2020-03-21 20:54:13 +08:00
David Lin 3679dfa07e
Update ecm.c 2020-03-21 20:42:55 +08:00
Cliff Chen 1c68bd9d3c Support msc mode automatic switching
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-03-16 10:50:34 +08:00
David Lin eb5467bece
Fixed wrong output information in core.c
rt_kprintf("alloc memery failed\n"); -> rt_kprintf("alloc memory failed\n");
2020-03-08 00:20:31 +08:00
Ihavedone 0fdf20cf58 添加虚拟串口接收缓存的 ENV 配置项,可手动配置接收缓存大小,默认为128字节 2020-01-17 15:42:56 +08:00
ZYH a4dba7b583 [Components][USB][ECM] fix build error 2019-12-25 13:15:10 +08:00
ZYH d3ee03f9c6 [RNDIS]fix speed on HS 2019-11-15 15:05:21 +08:00