<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/serial/dev_serial_v2.c, branch copilot/clean-up-finsh-function-code</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%2Fclean-up-finsh-function-code</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/serial/dev_serial_v2.c?h=copilot%2Fclean-up-finsh-function-code'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-11-07T01:52:55Z</updated>
<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>
<entry>
<title>[components][serial_v2] 写满丢弃策略对dma_ping_buf的处理有误、细节调整</title>
<updated>2025-05-22T13:32:21Z</updated>
<author>
<name>ryancw</name>
<email>1831931681@qq.com</email>
</author>
<published>2025-05-22T08:53:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5c23485006e7bd485f6e94d4f168e3a3f69173d5'/>
<id>urn:sha1:5c23485006e7bd485f6e94d4f168e3a3f69173d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[drivers][serial_v2]允许阻塞接收超过rx缓冲区大小的数据、增加超时时间、flush、获取缓冲区数据长度命令、数据溢出逻辑修复、稳定性细节优化、添加更多serial_v2测试用例</title>
<updated>2025-05-16T01:42:11Z</updated>
<author>
<name>ryancw</name>
<email>1831931681@qq.com</email>
</author>
<published>2024-09-04T02:39:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ac8fba0129f98b5c6a7c6caaa55538a53b370db2'/>
<id>urn:sha1:ac8fba0129f98b5c6a7c6caaa55538a53b370db2</id>
<content type='text'>
[components][serial_v2] 优化txflush逻辑、对tx的activated做中断保护

[components][at] at_client适配新版serial_v2

[components][at] at_server适配新版serial_v2

[components][serial_v2] 测试用例增加循环调用，format测试用例

[components][serial_v2] poll模式判断逻辑错误

[components][serial_v2] 测试用例去掉一些非必要延时

[components][serial_v2] 测试例程使用menuconfig进行配置，更新readme

[components][at_client] at_client_getchar返回值错误、at_client解析线程优先级错误设置

[components][at] 错误码应该返回负值

[components][serial_v2] TCFLSH和FIONREAD完善、control函数增加错误返回值

[components][serial_v2] RT_SERIAL_CTRL_GET_RX_DATA_LEN更改为RT_SERIAL_CTRL_GET_UNREAD_BYTES_COUNT

[utest][serial_v2] TC_UART_SEND_TIMES替换为RT_SERIAL_TC_SEND_ITERATIONS

[components][serial_v2] FIONREAD参数应该是无符号类型

[utest][serial_v2] 完善测试用例

[components][serial_v2] 避免使用三目运算符

[components][serial_v2] 使用clang-format格式化代码

[components][serial_v2] 添加get超时时间命令

[components][serial_v2] 完善posix接口

[components][serial_v2] 阻塞接口添加阻塞时间为0时的处理逻辑、优化RX阻塞接收逻辑

[components][serial_v2] 设置超时时间命令的参数改为指针形式

[components][serial_v2] nbuf发送添加超时时间为0时的逻辑

[components][serial_v2] 完善添加测试用例

[utest][serial_v2] 修复依赖关系

[components][serial_v2] 非阻塞模式下tx_flush错误修复

[components][serial_v2] activated使用原子API

[components][serial_v2] 优化DMA逻辑、没使能DMA时屏蔽DMA逻辑节约资源

[components][serial_v2] 提供写满时丢弃新数据和覆盖旧数据策略，写满丢弃策略效率更高

[components][serial_v2] 部分平台适配写满时两种策略功能

[components][serial_v2] DMA模式暂不支持丢弃新数据策略

[utest][serial_v2] 优化测试代码

[components][serial_v2] DMA模式下使用乒乓缓冲、DMA模式支持丢弃新数据策略

[utest][serial_v2] 适配DMA乒乓缓冲

[bsp][serial_v2] 部分bsp适配DMA下乒乓缓冲

[components][serial_v2] 使用spinlock替换中断，对部分结构体变量使用原子操作

[utest][serial_v2] 更新测试用例

[components][at] 适配new serialv2不再判断RTT版本号

[components][at] 删除多余的中文注释

[utest][serial_v2] 添加交叉echo示例，qemu环境下专用

[bsp][qemu] 适配串口v2并开启fifo

[components][at] 修复合并导致的错误

[bsp][n32] 适配serial_v2，没有经过测试

[components][serial_v2] 格式化代码

[utest][serial_v2] 删除无意义的打印
</content>
</entry>
<entry>
<title>[drivers] fixed a minor typo in the comments of dev_serial_v2.c</title>
<updated>2024-11-24T17:48:19Z</updated>
<author>
<name>PermissionDenied7335</name>
<email>54110849+PermissionDenied7335@users.noreply.github.com</email>
</author>
<published>2024-11-24T11:19:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=92f26b7ad218a702ce7d8685579557d6ea544106'/>
<id>urn:sha1:92f26b7ad218a702ce7d8685579557d6ea544106</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[drivers] Specifies the name of the drivers driver file</title>
<updated>2024-09-13T21:40:40Z</updated>
<author>
<name>CXSforHPU</name>
<email>156403074+CXSforHPU@users.noreply.github.com</email>
</author>
<published>2024-09-13T21:40:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bb91502465da8432b5b38a0eb12be3af8238c22d'/>
<id>urn:sha1:bb91502465da8432b5b38a0eb12be3af8238c22d</id>
<content type='text'>
https://github.com/RT-Thread/rt-thread/pull/9420</content>
</entry>
</feed>
