<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: compiling error: S32K344 After D_CACHE_ENABLE is enabled in S32K</title>
    <link>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911115#M37805</link>
    <description>&lt;P&gt;Hi@&lt;SPAN&gt;harryoceana&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Could&amp;nbsp; you please describe clearly where the demo you are using comes from, what its name is, and what modifications you have made to it, so that we can reproduce the problem.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 07:49:20 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2024-07-18T07:49:20Z</dc:date>
    <item>
      <title>compiling error: S32K344 After D_CACHE_ENABLE is enabled</title>
      <link>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1909330#M37744</link>
      <description>&lt;P&gt;RTD 3.0.0 P07&lt;/P&gt;&lt;P&gt;S32DS 3.5&lt;/P&gt;&lt;P&gt;S32K344 After D_CACHE_ENABLE is enabled, the following error occurs when compiling. The cc.h file has many undefined macros&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/288673iC681589F8B977585/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.PNG" alt="捕获.PNG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;捕获.PNG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/288675iF48648D7DED9C64A/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.PNG" alt="捕获.PNG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;捕获.PNG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 03:10:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1909330#M37744</guid>
      <dc:creator>harryoceana</dc:creator>
      <dc:date>2024-07-16T03:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: compiling error: S32K344 After D_CACHE_ENABLE is enabled</title>
      <link>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911115#M37805</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;harryoceana&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Could&amp;nbsp; you please describe clearly where the demo you are using comes from, what its name is, and what modifications you have made to it, so that we can reproduce the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 07:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911115#M37805</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-07-18T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: compiling error: S32K344 After D_CACHE_ENABLE is enabled</title>
      <link>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911186#M37808</link>
      <description>&lt;P&gt;This is LWIP example, Only the D_CACHE_ENABLE definition was added&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 538px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289117i020F823A9CEB3CAC/image-dimensions/538x300?v=v2" width="538" height="300" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1.PNG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 532px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289118i79191660370A341F/image-dimensions/532x457?v=v2" width="532" height="457" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;2.PNG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 09:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911186#M37808</guid>
      <dc:creator>harryoceana</dc:creator>
      <dc:date>2024-07-18T09:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: compiling error: S32K344 After D_CACHE_ENABLE is enabled</title>
      <link>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911253#M37811</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@harryoceana" target="_blank"&gt;Hi@harryoceana&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;D-cache is not supported in this routine, if you want to enable D-cache, this is suggestion from SW team.&lt;/SPAN&gt;&lt;BR clear="none" /&gt;&lt;SPAN&gt;You can add some following macros:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Data Cache masks */
#define DCACHE_CCR_EN_MASK             ((uint32)1U &amp;lt;&amp;lt; 16U)
#define DCACHE_CSSELR_EN(x)            ((uint32)((x) &amp;amp; (~1U)))
#define DCACHE_DCCXSW_SET_MASK         ((uint32)0x3FE0U)
#define DCACHE_DCCXSW_SET_SHIFT        ((uint32)5U)
#define DCACHE_DCCXSW_WAY_MASK         ((uint32)0xC0000000U)
#define DCACHE_DCCXSW_WAY_SHIFT        ((uint32)30U)
/* Instruction Cache masks */
#define ICACHE_CCR_EN_MASK             ((uint32)1U &amp;lt;&amp;lt; 17U)
#define ICACHE_CSSELR_EN(x)            ((uint32)((x) | 1U))
/* Cache set, way and line size */
#define CACHE_CCSIDR_SET_MASK          ((uint32)0xFFFE000U)
#define CACHE_CCSIDR_SET_SHIFT         ((uint32)13U)
#define CACHE_CCSIDR_SET_SIZE(x)       ((uint32)((((uint32)(x) &amp;amp; CACHE_CCSIDR_SET_MASK) &amp;gt;&amp;gt; CACHE_CCSIDR_SET_SHIFT) + 1U))
#define CACHE_CCSIDR_WAY_MASK          ((uint32)0x1FF8U)
#define CACHE_CCSIDR_WAY_SHIFT         ((uint32)3U)
#define CACHE_CCSIDR_WAY_SIZE(x)       ((uint32)((((uint32)(x) &amp;amp; CACHE_CCSIDR_WAY_MASK) &amp;gt;&amp;gt; CACHE_CCSIDR_WAY_SHIFT) + 1U))
#define CACHE_CCSIDR_LINE_SIZE_MASK    ((uint32)0x7U)
#define CACHE_CCSIDR_LINE_SHIFT        ((uint32)0U)
#define CACHE_CCSIDR_LINE_SIZE(x)      ((uint32)((((((uint32)(x) &amp;amp; CACHE_CCSIDR_LINE_SIZE_MASK) &amp;gt;&amp;gt; CACHE_CCSIDR_LINE_SHIFT) + 1U) * 4U) * 4U))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1721297108982.png" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/289146i24846AE453E34E6D/image-dimensions/714x637?v=v2" width="714" height="637" role="button" title="Senlent_0-1721297108982.png" alt="Senlent_0-1721297108982.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_0-1721297108982.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 10:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/compiling-error-S32K344-After-D-CACHE-ENABLE-is-enabled/m-p/1911253#M37811</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-07-18T10:06:37Z</dc:date>
    </item>
  </channel>
</rss>

