<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/examples/utest/testcases/drivers/serial_v2, branch v5.2.2-beta</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/examples/utest/testcases/drivers/serial_v2?h=v5.2.2-beta</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/examples/utest/testcases/drivers/serial_v2?h=v5.2.2-beta'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-10-11T07:38:45Z</updated>
<entry>
<title>utest: serial: move from examples to components/drivers/serial</title>
<updated>2025-10-11T07:38:45Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-10-10T06:56:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3b97667323716a75823bfabf7c59ae7bf64f01cc'/>
<id>urn:sha1:3b97667323716a75823bfabf7c59ae7bf64f01cc</id>
<content type='text'>
Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>utest: serial_v2: add depends on RT_USING_SERIAL_V2</title>
<updated>2025-10-10T12:24:18Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-10-10T07:56:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ba795c6d6543aca68cc2fb34ff9cf6a5e07190ad'/>
<id>urn:sha1:ba795c6d6543aca68cc2fb34ff9cf6a5e07190ad</id>
<content type='text'>
Add dependent of RT_USING_SERIAL_V2 in Kconfig to
make sure utest for serial_v2 is only available
when RT_USING_SERIAL_V2 is enabled.

Otherwise menuconfig allow people enable UTEST_SERIAL_TC
but building of utestcases failed. It looks weird and
better to be fixed.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</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]允许阻塞接收超过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>[serial_v2]串口设备框架serial_v2在utest下的testcases补充 (#8079)</title>
<updated>2023-10-27T01:25:26Z</updated>
<author>
<name>zan319</name>
<email>48862020+zan319@users.noreply.github.com</email>
</author>
<published>2023-10-27T01:25:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f79ae29c70f4e49b244123ad81a33a9a81d0d427'/>
<id>urn:sha1:f79ae29c70f4e49b244123ad81a33a9a81d0d427</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[testcase] 增加serial_v2的测试用例</title>
<updated>2021-06-23T03:04:36Z</updated>
<author>
<name>chenjh</name>
<email>chenjinhui@rt-thread.com</email>
</author>
<published>2021-06-17T07:56:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=312753686b7c64dfabf02d38ecca28c59ebc2810'/>
<id>urn:sha1:312753686b7c64dfabf02d38ecca28c59ebc2810</id>
<content type='text'>
</content>
</entry>
</feed>
