summaryrefslogtreecommitdiff
path: root/components/drivers/usb/usbdevice/class/cdc_vcom.c
AgeCommit message (Collapse)Author
2021-10-14[cdc_vcom.c]adapt to both v1 and v2 of serialmazhiyuan
2021-10-14修复cdc_vcom.c中的一些编译问题mazhiyuan
2021-03-16Merge branch 'master' into compdillon-min
2021-03-11component: driver: usb: Add usb interface string(iInterface) settingDillon Min
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 <[email protected]> v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-11-21Update cdc_vcom.cDavid Lin
2020-07-03merge latest usb class with workaroundhphuang
2020-03-21Update cdc_vcom.cDavid Lin
2020-01-17添加虚拟串口接收缓存的 ENV ↵Ihavedone
配置项,可手动配置接收缓存大小,默认为128字节
2019-02-03Fixed data loss issue when USB CDC serial works in dma transmission mode.weety
2018-10-26[components][drivers][usb][usb_device][cdc_vcom]: Add 'RT_VCOM_TX_TIMEOUT' ↵Peter Zhang
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-22[Components][drivers][usb]修复非对齐访问异常zyh
2018-10-14[license] Change license to Apache.Bernard Xiong
2018-09-10修正drivers下,armclang编译时的警告或错误 ↵liruncong
注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug.
2018-08-28消除usb结构体gcc编译时的相关警告liruncong
2018-04-24[Coponents][USB device]add class register interfacezyh
2018-03-16[Components][USB Device]各个class对HS进行了适配ZYH
部分class还不支持HS,RNDIS存在暂时无法解决的已知bug
2018-03-15fix cdc_vcom.c notify receive data.charlown
2018-02-06[Components][Drivers][USB]vcom dma_tx模式下根据bulk ↵ChunfengMu
in提交能力限制tx_ringbuffer的填充长度,避免对下次bulk in传输造成影响.
2018-01-311:解决主机端未打开串口时,设备端应用程序dma模式下操作v ↵ChunfengMu
com发送数据时,dataqueue条目泄漏的问题。
2018-01-30Update cdc_vcom.cChunfengMu
2018-01-301:解决未使用串口设备时,bulkout端点接收数据触发断言的� ↵ChunfengMu
��题。
2018-01-24[Components][Drivers][USB]fix compiling errorsChunfengMu
2018-01-22[Components] driver usb vcom fix error for console (#1160)Aubr.Cool
* [Components] driver usb vcom fix error for console
2018-01-191:修复cdc_vcom命令处理错误,SetLineCoding命令用于设置一些vc ↵ChunfengMu
om参数,在此处判定vcom连接状态不合适,因通过SetControlLineState命令wValue字段最低位进行判断。
2017-11-11[usb]update usb stacktangyuxin
2014-07-131. Fix some spell error;shaolin
2. Fix data transfer size calculate error issue;
2014-02-16Update USB Device Stack to support more device controllers;shaolin
Pass USB CV test verification; Code cleanup;
2013-08-19ringbuffer: fix the ambiguous nameGrissiom
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-06-28Embedded GPLv2 license in driversyiyue.fang
2013-05-25cdc_vcom: reset the vcom state in proper casesGrissiom
Reset the vcom state in class_{run,stop} and when the PC is not receiving data from me.
2013-05-12cdc_vcom: not to start sending data when the data is already sendingGrissiom
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-10cdc_vcom: send data as many as possibleGrissiom
The data filled into dcd_ep_write does not to be limited by MaxPacketSize.
2013-05-10cdc_vcom: send a zero-length-packet at the end is transactionGrissiom
2013-05-09cdc_vcom: fix the bug that use ringbuffer pool as usb packet bufferGrissiom
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-01-24class driver can custom string descriptionheyuanjie87
2013-01-09allows the user custom PID and VIDheyuanjie87
2013-01-08Re-normalizing the repoMing, Bai
2012-12-30change inferface handler parameter; add a protocol define[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2564 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-17Descriptor is no longer using the global variable[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2489 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-16fixed a warning[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2486 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-12change endpoint and class handler[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-25add USB composite and mass storage class features in USB device stack[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2447 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07set bDeviceClass to CDC_CLASS[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2397 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-13Remove compiling warning.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2348 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11Fixed _class_sof_handler function return value.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2345 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11submit the first version usb device stack.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316