<?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 S32DS - S32K3xx SMP example compilation error in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058773#M13162</link>
    <description>&lt;P&gt;I'm trying to compile FreeRTOS_Toggle_Led_Example_S32K358_SMP project and it produces the following error:&lt;/P&gt;&lt;P&gt;C:/NXP/workspaceS32DS.3.6.0/FreeRTOS_Toggle_Led_Example_S32K358_SMP/generate/include/FreeRTOSConfig.h:64:66: error: implicit declaration of function 'taskDISABLE_INTERRUPTS' [-Werror=implicit-function-declaration]&lt;BR /&gt;arm-none-eabi-gcc "@RTD/src/Clock_Ip.args" -MMD -MP -MF"RTD/src/Clock_Ip_Monitor.d" -MT"RTD/src/Clock_Ip_Monitor.o" -o "RTD/src/Clock_Ip_Monitor.o" "../RTD/src/Clock_Ip_Monitor.c"&lt;BR /&gt;64 | #define configASSERT(x) if((x)==0) { taskDISABLE_INTERRUPTS(); for( ;; ); }&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/portmacro.h:184:17: note: in expansion of macro 'configASSERT'&lt;BR /&gt;184 | configASSERT( Get_64(&amp;amp;ucRecursionCountByLock[ulLockNum]) != 255u);&lt;BR /&gt;| ^~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Missing #include?&lt;/P&gt;&lt;P&gt;Is there a quick way to fix this?&lt;/P&gt;&lt;P&gt;I'm using DS 3.6.0 and 'FreeRTOS for S32K3XX version 5.0.0' package. Example taken from 'SW32K3 FreeRTOS 11.1.0 5.0.0 CD1 D2409 Example Projects' section of the above package.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 13:21:50 GMT</pubDate>
    <dc:creator>ogai</dc:creator>
    <dc:date>2025-03-10T13:21:50Z</dc:date>
    <item>
      <title>S32DS - S32K3xx SMP example compilation error</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058773#M13162</link>
      <description>&lt;P&gt;I'm trying to compile FreeRTOS_Toggle_Led_Example_S32K358_SMP project and it produces the following error:&lt;/P&gt;&lt;P&gt;C:/NXP/workspaceS32DS.3.6.0/FreeRTOS_Toggle_Led_Example_S32K358_SMP/generate/include/FreeRTOSConfig.h:64:66: error: implicit declaration of function 'taskDISABLE_INTERRUPTS' [-Werror=implicit-function-declaration]&lt;BR /&gt;arm-none-eabi-gcc "@RTD/src/Clock_Ip.args" -MMD -MP -MF"RTD/src/Clock_Ip_Monitor.d" -MT"RTD/src/Clock_Ip_Monitor.o" -o "RTD/src/Clock_Ip_Monitor.o" "../RTD/src/Clock_Ip_Monitor.c"&lt;BR /&gt;64 | #define configASSERT(x) if((x)==0) { taskDISABLE_INTERRUPTS(); for( ;; ); }&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/portmacro.h:184:17: note: in expansion of macro 'configASSERT'&lt;BR /&gt;184 | configASSERT( Get_64(&amp;amp;ucRecursionCountByLock[ulLockNum]) != 255u);&lt;BR /&gt;| ^~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Missing #include?&lt;/P&gt;&lt;P&gt;Is there a quick way to fix this?&lt;/P&gt;&lt;P&gt;I'm using DS 3.6.0 and 'FreeRTOS for S32K3XX version 5.0.0' package. Example taken from 'SW32K3 FreeRTOS 11.1.0 5.0.0 CD1 D2409 Example Projects' section of the above package.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 13:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058773#M13162</guid>
      <dc:creator>ogai</dc:creator>
      <dc:date>2025-03-10T13:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS - S32K3xx SMP example compilation error</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058904#M13168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211706"&gt;@ogai&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This issue has already been reported to the SW team. The provided example is incomplete, and some workarounds are needed for it to work correctly:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&lt;SPAN&gt;Configuration .mex needs to be updated to include SMP support:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Use SMP feature.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327386i12BA97B97BF4163E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Use SMP feature.png" alt="Use SMP feature.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;SPAN&gt;Calls to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;vPortGET_CORE_ID&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;need to be replace with calls to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;portGET_CORE_ID.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;In ASSERT(), change macro definition to "if((x)==0) {__asm volatile ( " cpsid i " ::: "memory" ); for( ;;); }&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="config ASSERT.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/327387iDD0378F9F7C88BE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="config ASSERT.png" alt="config ASSERT.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 17:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058904#M13168</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-03-10T17:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS - S32K3xx SMP example compilation error</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058916#M13169</link>
      <description>Thanks Julian. It worked!</description>
      <pubDate>Mon, 10 Mar 2025 17:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-S32K3xx-SMP-example-compilation-error/m-p/2058916#M13169</guid>
      <dc:creator>ogai</dc:creator>
      <dc:date>2025-03-10T17:32:38Z</dc:date>
    </item>
  </channel>
</rss>

