<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/can, 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/can?h=copilot%2Ffix-riscv-none-job-failure</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/can?h=copilot%2Ffix-riscv-none-job-failure'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-02-10T03:41:41Z</updated>
<entry>
<title>fix(CAN): Avoid double counting RX overflow drops</title>
<updated>2026-02-10T03:41:41Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2026-02-07T07:28:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=27b2ba5556cf137a346cef4d1ad575e2d1183b48'/>
<id>urn:sha1:27b2ba5556cf137a346cef4d1ad575e2d1183b48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[DM/CAN] Update CAN for DM</title>
<updated>2025-12-04T07:55:33Z</updated>
<author>
<name>GuEe-GUI</name>
<email>2991707448@qq.com</email>
</author>
<published>2025-12-01T08:35:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1e82368778eb571c61a9c263ce362510c7fc9275'/>
<id>urn:sha1:1e82368778eb571c61a9c263ce362510c7fc9275</id>
<content type='text'>
1. Kconfig import wtih DM
2. Add DM API for Drivers

Signed-off-by: GuEe-GUI &lt;2991707448@qq.com&gt;
</content>
</entry>
<entry>
<title>fix(can): Resolve potential race condition in message transmission</title>
<updated>2025-11-08T03:52:25Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2025-11-05T07:55:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=44cf90a4ef25b4ae09151a9230bc14cd9f061c38'/>
<id>urn:sha1:44cf90a4ef25b4ae09151a9230bc14cd9f061c38</id>
<content type='text'>
Setting the send status flag `sndchange` after calling the can-&gt;ops-&gt;sendmsg function
could lead to a race condition if a transmission timeout occurs, resulting in incorrect state handling.
This patch moves the operation of setting the `sndchange` flag to before the call to can-&gt;ops-&gt;sendmsg.
This ensures that the mailbox's status is correctly marked as "sending" before the hardware begins transmission,
making the driver's state management more robust and reliable, especially in handling exceptions like timeouts.

Additionally, new macros for CAN filter modes have been added in dev_can.h.
</content>
</entry>
<entry>
<title>feat[can]: Implement non-blocking send mechanism and enhance CAN driver functionality</title>
<updated>2025-09-28T03:17:21Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2025-09-27T01:42:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=11156de0de6bea4eb9090d162152caf2b352b232'/>
<id>urn:sha1:11156de0de6bea4eb9090d162152caf2b352b232</id>
<content type='text'>
- Added support for non-blocking mode CAN message sending, including software ring buffer management and dynamic memory allocation options.
- Improved related comments and error handling.
- Updated example code to demonstrate the usage of both blocking and non-blocking sending modes, and corrected some structure field naming and macro definitions.
</content>
</entry>
<entry>
<title>[Fix] &lt;components&gt;:drivers/can/dev_can.c  修复CAN底层无法工作时导致调用 _can_int_tx 的线程一直挂起的问题</title>
<updated>2025-07-29T12:18:14Z</updated>
<author>
<name>liuyucai</name>
<email>1486344514@qq.com</email>
</author>
<published>2025-07-29T02:15:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=a1c642aa3a2848b47f2a1b52679dc4ee5156f2f4'/>
<id>urn:sha1:a1c642aa3a2848b47f2a1b52679dc4ee5156f2f4</id>
<content type='text'>
Solution: 使用 can-&gt;status.sndchange 的bit位来表示某个发送邮箱超时
如果超时 底层驱动再通知tx_done或者tx_fail事件时不予处理

Signed-off-by: Yucai Liu &lt;1486344514@qq.com&gt;
</content>
</entry>
<entry>
<title>fix:[CAN][STM32]open时立刻启动can_start,还未完成其他配置,可能导致异常</title>
<updated>2024-11-14T03:56:17Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2024-11-13T01:18:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4c18fa7e21ef1b3fdb781f578855a4693ce5e88a'/>
<id>urn:sha1:4c18fa7e21ef1b3fdb781f578855a4693ce5e88a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[device] add dev_ prefix for file names</title>
<updated>2024-08-23T22:15:09Z</updated>
<author>
<name>CXSforHPU</name>
<email>156403074+CXSforHPU@users.noreply.github.com</email>
</author>
<published>2024-08-23T22:15:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=416ec66380d89e2d3ff8ea37fd748ccc77130ab2'/>
<id>urn:sha1:416ec66380d89e2d3ff8ea37fd748ccc77130ab2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][driver][can]Fix possible memory overflow caused by RX</title>
<updated>2024-07-09T12:22:37Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2024-07-09T12:22:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=15a8ebe0a09a1ca509dbf6d2a3bafae4a01f650f'/>
<id>urn:sha1:15a8ebe0a09a1ca509dbf6d2a3bafae4a01f650f</id>
<content type='text'>
修复RX可能导致的内存溢出情况

#8634</content>
</entry>
<entry>
<title>[components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054)</title>
<updated>2024-06-16T07:43:27Z</updated>
<author>
<name>sp-cai</name>
<email>70000077+sp-cai@users.noreply.github.com</email>
</author>
<published>2024-06-16T07:43:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f1832fea24958649c8c113de5b71581874771548'/>
<id>urn:sha1:f1832fea24958649c8c113de5b71581874771548</id>
<content type='text'>
整理 components/drivers 的 Kconfig</content>
</entry>
<entry>
<title>[components][drivers]close can irq before release fifo</title>
<updated>2024-04-16T03:17:06Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-04-16T03:17:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=be699795f8a5076e671091fb904823c21adf7df4'/>
<id>urn:sha1:be699795f8a5076e671091fb904823c21adf7df4</id>
<content type='text'>
原来的CAN close中先释放fifo后关闭CAN中断，可能导致释放fifo后且关闭CAN中断前来CAN中断，此时rt_hw_can_isr可能在RT_ASSERT(tx/rx_fifo != RT_NULL)断言失败</content>
</entry>
</feed>
