<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[YTM32B1MD1 系列 MCAL Spi_SetupEB 原型与 AUTOSAR 规范不符]]></title><description><![CDATA[<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/c6ea9e67-725b-4b4b-927a-52ae7a23afe5.png" alt="36ff0e53-8408-4301-aa58-41446b1cf1ca-image.png" class=" img-fluid img-markdown" /><br />
如上图，AUTOSAR SWS 原型的 SrcDataBufferPtr 形参具有 const 限定符</p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/20c8222b-eed5-4340-a90c-4136d205ed37.png" alt="772e029d-0bbe-4829-a052-79762074031d-image.png" class=" img-fluid img-markdown" /><br />
如上图，实现缺少 const 限定符</p>
<p dir="auto">影响：<br />
具有常量限定符的地址传入时，视编译器不同可能产生警告或报错</p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/79021a62-00c9-41d4-a75c-c15e40461259.png" alt="6f7152c5-0e66-42b3-b356-b92e98807b60-image.png" class=" img-fluid img-markdown" /><br />
GreenHills 编译器会产生 #167 报错</p>
]]></description><link>https://forum.ytmicro.com/topic/2292/ytm32b1md1-系列-mcal-spi_setupeb-原型与-autosar-规范不符</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 23:04:39 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2292.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Oct 2026 08:48:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to YTM32B1MD1 系列 MCAL Spi_SetupEB 原型与 AUTOSAR 规范不符 on Tue, 13 Oct 2026 10:27:35 GMT]]></title><description><![CDATA[<p dir="auto">下个版本修复该问题</p>
]]></description><link>https://forum.ytmicro.com/post/9880</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9880</guid><dc:creator><![CDATA[Frank]]></dc:creator><pubDate>Tue, 13 Oct 2026 10:27:35 GMT</pubDate></item></channel></rss>