<?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_3_0_0 使用 ghs 编译器 -fnone 参数编译时报 function __VMRS declared implicitly 和 identifier &quot;__VFP_FPSCR&quot; is undefined]]></title><description><![CDATA[<p dir="auto">3.0.0 版本 mcal 的 core_cm33.h 文件中 __ghs__ 下的 __FPU_USED 和 __DSP_USED 没有考虑编译器选项，如下图<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/cb67ce5b-8fa0-4d09-9a3c-d9aa4a8cfdd6.png" alt="eadbc127-e4ca-44ea-8445-3038349ddfab-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">2.3.0 版本有做相关保护，如下图<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/8744c848-f902-463d-9607-cc1ff87b4a25.png" alt="1eaac383-21a8-49da-bfcf-5a8db7a4449e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">影响：<br />
编译器产生如下报错<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/1881d609-1da9-4cf0-8ab8-20da9d3248b3.png" alt="6a5a0b49-775b-461d-8a5e-307a7d0e157b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">影响点如下图，ytm_ccarm.h 中 __FPU_USED = 1 时使用的 __VMSR 函数和 __VFP_FPSCR 符号在编译器使用 -fnone 参数时不存在<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/340/da954103-2257-4064-a1a3-c41f652c6e3f.png" alt="13f2dc13-e468-4374-a8e5-fc2dff40b5a9-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/topic/2327/ytm32b1md1_3_0_0-使用-ghs-编译器-fnone-参数编译时报-function-__vmrs-declared-implicitly-和-identifier-__vfp_fpscr-is-undefined</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:52:34 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2327.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Oct 2026 02:13:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to YTM32B1MD1_3_0_0 使用 ghs 编译器 -fnone 参数编译时报 function __VMRS declared implicitly 和 identifier &quot;__VFP_FPSCR&quot; is undefined on Tue, 27 Oct 2026 02:18:40 GMT]]></title><description><![CDATA[<p dir="auto">感谢反馈，我们内部查看一下。</p>
]]></description><link>https://forum.ytmicro.com/post/9996</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9996</guid><dc:creator><![CDATA[Frankie]]></dc:creator><pubDate>Tue, 27 Oct 2026 02:18:40 GMT</pubDate></item></channel></rss>