<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/serial, branch copilot/fix-riscv-none-job-failure</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/serial?h=copilot%2Ffix-riscv-none-job-failure</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/serial?h=copilot%2Ffix-riscv-none-job-failure'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-08-30T12:55:20Z</updated>
<entry>
<title>[components][serial] Format termios staging declaration</title>
<updated>2026-08-30T12:55:20Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-23T03:32:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=21e6f363a440ccc8583899682e19d220ee31df79'/>
<id>urn:sha1:21e6f363a440ccc8583899682e19d220ee31df79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][serial] Address review findings for ioctl hardening</title>
<updated>2026-08-30T12:55:20Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-23T03:28:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=272292f3bcc228d0d4eb89a62d115a1d18abcfcb'/>
<id>urn:sha1:272292f3bcc228d0d4eb89a62d115a1d18abcfcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][serial] Harden RT-Smart serial ioctl arguments</title>
<updated>2026-08-30T12:55:20Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-23T02:09:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c5ead8254e6f36465c75bb1e08efd099e4a1ac7a'/>
<id>urn:sha1:c5ead8254e6f36465c75bb1e08efd099e4a1ac7a</id>
<content type='text'>
在 v1/v2 串口文件边界复制已知用户参数，补齐 v2 unread count 和 termios 缓冲区保护。

在 imx6ull UART 编程前校验波特率，并在硬件配置成功后提交串口状态。
</content>
</entry>
<entry>
<title>fix: name anonymous Kconfig choices</title>
<updated>2026-07-20T05:05:46Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2026-07-01T07:27:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=25212f374583a6f36133809bdd3b6ae51641d083'/>
<id>urn:sha1:25212f374583a6f36133809bdd3b6ae51641d083</id>
<content type='text'>
</content>
</entry>
<entry>
<title>components: fix serial v2 rx indicate setup</title>
<updated>2026-07-03T01:32:48Z</updated>
<author>
<name>Old-Ding</name>
<email>35417409+Old-Ding@users.noreply.github.com</email>
</author>
<published>2026-07-01T01:33:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ece7b4fe9fee73ae3458192984671d1edfab58e1'/>
<id>urn:sha1:ece7b4fe9fee73ae3458192984671d1edfab58e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat[serial][v2]: add RX DMA event mode control</title>
<updated>2026-06-27T03:39:10Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2026-06-15T06:31:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1f9146897be1d898bea2a3ed0492c2d0a0507320'/>
<id>urn:sha1:1f9146897be1d898bea2a3ed0492c2d0a0507320</id>
<content type='text'>
add serial v2 RX DMA event mode configuration for DMA-enabled builds
support STM32 UART RX DMA half/full transfer interrupt policy selection
validate RX DMA event mode before applying serial configuration
restore serial configuration when backend configure fails
</content>
</entry>
<entry>
<title>[fix] components: serial_v2: preserve RT_DEVICE_FLAG_STREAM when reopening serial device</title>
<updated>2026-05-20T02:05:02Z</updated>
<author>
<name>Runcheng Lu</name>
<email>runcheng.lu@hpmicro.com</email>
</author>
<published>2026-04-28T07:36:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ec9eaadf85dfa60e6327de37bde8c4f04bfbde5d'/>
<id>urn:sha1:ec9eaadf85dfa60e6327de37bde8c4f04bfbde5d</id>
<content type='text'>
- The serial_fops_open function closes and reopens the serial device,but the RT_DEVICE_FLAG_STREAM flag was not preserved across the close/open cycle. This change saves the STREAM flag before close and restores it during reopen to ensure consistent behavior.

Signed-off-by: Runcheng Lu &lt;runcheng.lu@hpmicro.com&gt;
</content>
</entry>
<entry>
<title>style: format code with clang-format [skip ci]</title>
<updated>2026-05-19T05:12:21Z</updated>
<author>
<name>kaidegit</name>
<email>kaidegit+github[bot]@noreply.github.com</email>
</author>
<published>2026-05-17T03:00:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c96fc44ba3d2f2b1ed1f8f6ac4e4887cbefdd641'/>
<id>urn:sha1:c96fc44ba3d2f2b1ed1f8f6ac4e4887cbefdd641</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[drivers][serial/v2] fix missing break after -RT_EPERM when buf size is 0</title>
<updated>2026-05-19T05:12:21Z</updated>
<author>
<name>kaidegit</name>
<email>2857693944@qq.com</email>
</author>
<published>2026-05-17T02:52:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b57c80f06f640f951682cd29ed79910fe7f5f789'/>
<id>urn:sha1:b57c80f06f640f951682cd29ed79910fe7f5f789</id>
<content type='text'>
When rx_bufsz or tx_bufsz is 0, the driver returns -RT_EPERM but falls
through to RT_ASSERT(rx_fifo/tx_fifo != RT_NULL). Since serial_rx/serial_tx
is NULL in non-buffered mode, this triggers an assertion failure.

Add break after setting ret = -RT_EPERM in the four affected cases:
- RT_SERIAL_CTRL_SET_RX_TIMEOUT
- RT_SERIAL_CTRL_SET_TX_TIMEOUT
- RT_SERIAL_CTRL_GET_RX_TIMEOUT
- RT_SERIAL_CTRL_GET_TX_TIMEOUT
</content>
</entry>
<entry>
<title>fix(serial): only apply CRLF translation in STREAM mode for poll tx</title>
<updated>2026-02-27T01:54:28Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2026-02-01T02:48:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=71fd98e56de78b31a58082ce9219f6ea55130ddc'/>
<id>urn:sha1:71fd98e56de78b31a58082ce9219f6ea55130ddc</id>
<content type='text'>
</content>
</entry>
</feed>
