<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/legacy/usb/usbdevice/class, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/legacy/usb/usbdevice/class?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/legacy/usb/usbdevice/class?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-10-11T09:37:11Z</updated>
<entry>
<title>fix[usb]: support VCOM polling receive with Serial V2</title>
<updated>2026-10-11T09:37:11Z</updated>
<author>
<name>Jaeyeong Lee</name>
<email>lee@jaeyeong.cc</email>
</author>
<published>2026-09-11T23:56:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ceef6e0ccd646aef61b907aeb9f29269d1caba50'/>
<id>urn:sha1:ceef6e0ccd646aef61b907aeb9f29269d1caba50</id>
<content type='text'>
Signed-off-by: Jaeyeong Lee &lt;lee@jaeyeong.cc&gt;
</content>
</entry>
<entry>
<title>fix[usb]: stop aliasing rt_ringbuffer as rt_serial_rx_fifo in VCOM</title>
<updated>2026-10-11T09:37:11Z</updated>
<author>
<name>Jaeyeong Lee</name>
<email>lee@jaeyeong.cc</email>
</author>
<published>2026-08-29T11:48:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8a3ca7bfa3fb0b779fe24fd912a3a72cc2aeb59d'/>
<id>urn:sha1:8a3ca7bfa3fb0b779fe24fd912a3a72cc2aeb59d</id>
<content type='text'>
With RT_USB_DEVICE_CDC and RT_USING_SERIAL_V2 both enabled, _function_enable
assigned the embedded rx_ringbuffer to serial.serial_rx. Serial V2 reads that
pointer as a struct rt_serial_rx_fifo, whose first member is a rt_ringbuffer,
so ring-buffer access happened to work while rx_cpt, rx_cpt_index and
rx_timeout landed on the following members of struct vcom, corrupting tx_rbp.
The layout shifts again with RT_SERIAL_USING_DMA, which inserts dma_ping_rb
ahead of those fields.

Serial V2 already owns the receive FIFO: dev_serial_v2.c allocates it with
rt_malloc on open and releases it with rt_free on close, so the assignment
also made rt_free run on memory inside struct vcom.

Drop the assignment and read the FIFO Serial V2 owns. rt_hw_serial_isr
reports RX_IND from serial_rx-&gt;rb, so the endpoint handler now fills that
ring buffer and _vcom_getc drains it. The Serial V1 path is unchanged.

Fixes #11739

Signed-off-by: Jaeyeong Lee &lt;lee@jaeyeong.cc&gt;
</content>
</entry>
<entry>
<title>components/usb: configure CDC VCOM strings</title>
<updated>2026-07-06T05:17:44Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-07-01T05:43:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8a0fe09c659b74ed2543d87a36a12355053b2630'/>
<id>urn:sha1:8a0fe09c659b74ed2543d87a36a12355053b2630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(drivers/usb):replace rtt usb stack with cherryusb (#8799)</title>
<updated>2024-06-02T03:20:13Z</updated>
<author>
<name>sakumisu</name>
<email>1203593632@qq.com</email>
</author>
<published>2024-06-02T03:20:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=62d321caa028dee04bf0b43fc0abb68b40e80ddd'/>
<id>urn:sha1:62d321caa028dee04bf0b43fc0abb68b40e80ddd</id>
<content type='text'>
</content>
</entry>
</feed>
