<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/serial/dev_serial_v2.c, branch copilot/fix-aarch64-github-actions-job</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/dev_serial_v2.c?h=copilot%2Ffix-aarch64-github-actions-job</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/serial/dev_serial_v2.c?h=copilot%2Ffix-aarch64-github-actions-job'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-05-20T02:05:02Z</updated>
<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>
<entry>
<title>fix(drivers/ipc): correct rt_ringbuffer_peek to not consume data</title>
<updated>2026-02-25T09:53:06Z</updated>
<author>
<name>Shaun</name>
<email>rsj@php.vg</email>
</author>
<published>2026-02-22T16:59:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ffcd1cb3160b18ba789c6ae620b5e1c5d76052bc'/>
<id>urn:sha1:ffcd1cb3160b18ba789c6ae620b5e1c5d76052bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[serialv2]:Fixed the issue where the serialv2 terminal did not have the enable stream mode</title>
<updated>2025-11-07T01:52:55Z</updated>
<author>
<name>CYFS</name>
<email>2805686936@qq.com</email>
</author>
<published>2025-11-06T09:20:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=934c8195f4f293acded38d3e5b648d65b143afc0'/>
<id>urn:sha1:934c8195f4f293acded38d3e5b648d65b143afc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Initialize local variables to prevent GCC compilation warnings</title>
<updated>2025-09-06T02:51:57Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2025-09-05T03:45:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6881f96ea537b8569172c012ab57a82e9f711883'/>
<id>urn:sha1:6881f96ea537b8569172c012ab57a82e9f711883</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(ioctl): _IOR() overflows in switch (int) #10650</title>
<updated>2025-09-01T04:46:43Z</updated>
<author>
<name>Tang Haojin</name>
<email>tanghaojin@outlook.com</email>
</author>
<published>2025-09-01T04:46:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=728d9e491967d3691fda0d0a20dec3ac418bdc68'/>
<id>urn:sha1:728d9e491967d3691fda0d0a20dec3ac418bdc68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[component][drivers][serial_v2] 优化serial_v2 (#10603)</title>
<updated>2025-08-16T03:51:57Z</updated>
<author>
<name>RyanCW</name>
<email>75795462+Ryan-CW-Code@users.noreply.github.com</email>
</author>
<published>2025-08-16T03:51:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e0243e87c0230f2afcdce3e1070755f78dfee9c7'/>
<id>urn:sha1:e0243e87c0230f2afcdce3e1070755f78dfee9c7</id>
<content type='text'>
* [bsp][stm32][drv_usart_v2] uart_isr不再使用链式调用，RXNE内循环读空，一些细节优化

* [componnents][drivers][serial_v2] 增加获取config接口，使用rt_tick_get_delta替代内部的时间绕回判断，写满丢弃策略rx接收数据错乱修复，clang-tidy和cppcheck审查优化

* [utest][drivers][serial_v2] 测试例程进行优化

* [bsp][stm32][drv_usart_v2] 撤回DMAMUX1修改

* [componnents][drivers][serial_v2] read和write不再返回-RT_ETIMEOUT改为已发送或读取的字节数，细节优化

* [utest][drivers][serial_v2] 增加单独的timeout测试，减少测试中的硬延时

* [utest][drivers][serial_v2] 漏提交的posix下标志位

* [utest][drivers][serial_v2] 优化测试例程

* [bsp][stm32][drv_usart_v2] transmit返回错误值，RXNE增加超时逻辑

* [componnents][drivers][serial_v2] 增加transmit错误处理，增加超时退出机制显式的避免死循环

* [componnents][drivers][serial_v2] 适配serial_v2和posix非libc标准库下的console和shell</content>
</entry>
<entry>
<title>[drivers][serial_v2] 修复dma下rx_flush的bug</title>
<updated>2025-07-24T01:37:54Z</updated>
<author>
<name>ryancw</name>
<email>1831931681@qq.com</email>
</author>
<published>2025-07-21T12:44:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d23006ea4ff0c5d2619775221d7bf9630b3d19e1'/>
<id>urn:sha1:d23006ea4ff0c5d2619775221d7bf9630b3d19e1</id>
<content type='text'>
</content>
</entry>
</feed>
