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
liruncong
7b788014f7
修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug.
2018-09-10 19:40:08 +08:00
liruncong
923d6fe33d
消除usb结构体gcc编译时的相关警告
2018-08-28 03:18:39 +08:00
zyh
1ed770039c
[Coponents][USB device]add class register interface
2018-04-24 12:48:05 +08:00
ZYH
5035662cd9
[Components][USB Device]各个class对HS进行了适配
...
部分class还不支持HS,RNDIS存在暂时无法解决的已知bug
2018-03-16 18:36:14 +08:00
charlown
4f1f0ad918
fix cdc_vcom.c notify receive data.
2018-03-15 10:07:23 +08:00
ChunfengMu
a499c18072
[Components][Drivers][USB]vcom dma_tx模式下根据bulk in提交能力限制tx_ringbuffer的填充长度,避免对下次bulk in传输造成影响.
2018-02-06 01:49:59 +08:00
ChunfengMu
9798917638
1:解决主机端未打开串口时,设备端应用程序dma模式下操作vcom发送数据时,dataqueue条目泄漏的问题。
2018-01-31 02:37:34 +08:00
ChunfengMu
263e9faae4
Update cdc_vcom.c
2018-01-30 10:19:40 +08:00
ChunfengMu
2ea318cc03
1:解决未使用串口设备时,bulkout端点接收数据触发断言的问题。
2018-01-30 01:24:00 +08:00
ChunfengMu
0b0cbaf9aa
[Components][Drivers][USB]fix compiling errors
2018-01-24 00:27:11 +08:00
Aubr.Cool
537943ed6f
[Components] driver usb vcom fix error for console ( #1160 )
...
* [Components] driver usb vcom fix error for console
2018-01-22 13:18:27 +08:00
ChunfengMu
31dcce45c8
1:修复cdc_vcom命令处理错误,SetLineCoding命令用于设置一些vcom参数,在此处判定vcom连接状态不合适,因通过SetControlLineState命令wValue字段最低位进行判断。
2018-01-19 01:24:33 +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
Grissiom
981d929b56
ringbuffer: fix the ambiguous name
...
RT_RINGBUFFER_SIZE could mean "the size of the whole buffer", "the size
of the empty space" or "the size of the data". Moreover, it's never a
micro anymore. Change it to rt_ringbuffer_data_len before it's too late.
Also, RT_RINGBUFFER_EMPTY is changed to rt_ringbuffer_space_len.
2013-08-19 14:12:35 +08:00
yiyue.fang
621fbdb90c
Embedded GPLv2 license in drivers
2013-06-28 00:36:54 +08:00
Grissiom
046182be94
cdc_vcom: reset the vcom state in proper cases
...
Reset the vcom state in class_{run,stop} and when the PC is not
receiving data from me.
2013-05-25 15:25:32 +08:00
Grissiom
aa179e4438
cdc_vcom: not to start sending data when the data is already sending
...
We start the sending transaction in SOF handler. But if the data is
already sending, start an other transaction will cause data lose.
Implement a state machine is cdc_vcom and avoid that.
2013-05-12 13:27:13 +08:00
Grissiom
d23ee75d2e
cdc_vcom: send data as many as possible
...
The data filled into dcd_ep_write does not to be limited by
MaxPacketSize.
2013-05-10 17:50:07 +08:00
Grissiom
ffb1e62020
cdc_vcom: send a zero-length-packet at the end is transaction
2013-05-10 15:17:59 +08:00
Grissiom
778c4239b1
cdc_vcom: fix the bug that use ringbuffer pool as usb packet buffer
...
This commit set the buffer for packet to CDC_MaxPacketSize which is a
reasonable value for it. However, maybe we should make
CDC_{RX,TX}_BUFSIZE configurable as well.
2013-05-09 23:18:58 +08:00
heyuanjie87
34d531578e
class driver can custom string description
2013-01-24 20:59:43 +08:00
heyuanjie87
d20974b9d2
allows the user custom PID and VID
2013-01-09 12:18:13 +08:00
Ming, Bai
b4de7cce57
Re-normalizing the repo
2013-01-08 22:40:58 +08:00
sc943313837@gmail.com
aa49ca9db3
change inferface handler parameter; add a protocol define
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2564 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-30 09:43:19 +00:00
sc943313837@gmail.com
c7e5cc311f
Descriptor is no longer using the global variable
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2489 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17 09:31:57 +00:00
sc943313837@gmail.com
bc02dbc501
fixed a warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2486 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-16 05:17:21 +00:00
sc943313837@gmail.com
53efe928d6
change endpoint and class handler
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12 16:37:10 +00: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
sc943313837@gmail.com
e3b8d6f398
set bDeviceClass to CDC_CLASS
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2397 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07 15:38:10 +00:00
bernard.xiong@gmail.com
da49833788
Remove compiling warning.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2348 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-13 04:05:09 +00:00
bernard.xiong
f1862e80f7
Fixed _class_sof_handler function return value.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2345 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 23:35:42 +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