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
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
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
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
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
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
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
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
guozhanxin
711ce4a0ea
[usbd] Fixed Windows first recording failure.|修复windows下第一次录音失败的问题。
...
windows下第一次录放音失败的原因是:第一录放音时 windows 会先连续发送开始、结束检测设备,然后才正式开始。线程来不及处理两次开始事件不会累积,最后导致直接结束,
2019-09-19 23:12:24 +08:00
guozhanxin
98b1956937
[usbd] Add usb audio class.
2019-09-19 21:01:25 +08:00
guozhanxin
cde81a296d
[usbd] Fixed an error where change the interface did not call handler.|修正了改变接口不调用回调的问题
2019-09-19 20:58:58 +08:00
guozhanxin
59dfbb1266
[usb device] Fix the problem of multiple altsetting of interface failing to properly enumerate.
...
修复多备用设备的接口不能正常枚举的问题。
2019-09-12 18:04:44 +08:00
Zhou Yanjie
3c9375181d
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
...
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。
In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,".
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 16:03:57 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
ZYH
e1517a0981
[Components][USB][RNDIS] fix delay linkup using soft timer
2019-06-11 15:32:37 +08:00
ZYH
2a738e1ee2
[Components][USB][ECM] fix hotplug
2019-06-11 15:27:11 +08:00
ZYH
c12d59dc02
[Components][USB][RNDIS] fix hotplug
2019-06-11 15:24:21 +08:00
ZYH
7a75e449b6
[Components][USB][ECM] fix hotplug
2019-06-10 14:10:59 +08:00
ZYH
cc9ce52bae
[Components][USB][RNDIS] fix hotplug and "delay linkup"
2019-06-10 14:10:08 +08:00
weety
5293175998
Fixed data loss issue when USB CDC serial works in dma transmission mode.
2019-02-03 20:36:34 +08:00
zyh
b18534e1af
[components][USB][Device][Core]fix the device_qualifier error respond on fullspeed
2018-12-27 16:48:29 +08:00
Peter Zhang
328a697c1d
[components][drivers][usb][usb_device][cdc_vcom]: Add 'RT_VCOM_TX_TIMEOUT' to configure TX_TIMEOUT whick may block vcom tx thread for a long time. Add 'RT_VCOM_TASK_STK_SIZE', 'RT_VCOM_TX_USE_DMA', 'RT_VCOM_SERNO', 'RT_VCOM_SER_LEN', 'RT_VCOM_TX_TIMEOUT' to Kconfig
2018-10-26 14:29:22 +08:00
zyh
c2539db38e
[Components][drivers][usb]修复非对齐访问异常
2018-10-22 12:08:43 +08:00
Bernard Xiong
2c0640a178
[license] Change license to Apache.
2018-10-14 19:37:18 +08:00
Bernard Xiong
65fc7421e0
Merge pull request #1871 from uestczyh222/master
...
[Components][USB]增加健壮性
2018-10-09 19:54:10 +08:00
ZYH
2b7488ca85
[Components][USB]更新license
2018-10-09 11:43:35 +08:00
ZYH
f73e4c3fc4
[Compoments][USB]增加对class的非法注册的判断
2018-10-09 11:41:38 +08:00
ZYH
294223c80b
[Components][USB]修复当未开启复合设备时HID编译失败
2018-10-09 11:32:41 +08:00
liruncong
7b788014f7
修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug.
2018-09-10 19:40:08 +08:00