<?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: Using FreeRTOS heap_5.c in S32 IDE 2.2 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1701842#M25900</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A id="link_5" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188570" target="_self" aria-label="View Profile of maximillion"&gt;&lt;SPAN class=""&gt;maximillion&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Sorry for this lately reply.&lt;/P&gt;
&lt;P&gt;Firstly, i checked the SRAM of&amp;nbsp;&lt;SPAN&gt;S32K142, i think your address of SRAM_LOWER_START_ADDRESS is matching with size of LOWER, so the Heap region will continously from LOWER to UPPER. So i don't think the address of your SRAM in any problems.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K142_SRAM.png" style="width: 516px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235761iBF35A4F0CDC2042C/image-dimensions/516x360?v=v2" width="516" height="360" role="button" title="S32K142_SRAM.png" alt="S32K142_SRAM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Secondly, about&amp;nbsp;m_data_2&amp;nbsp;i can't find it in linker file of S32k142, did you using GCC or IAR compiler?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you share your using linker file?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will as OS team about this issue for more investigation, so it's really helpful if you can share to me the error log and details of package that you're using now.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if you have further information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nam.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 09:22:14 GMT</pubDate>
    <dc:creator>NamLee</dc:creator>
    <dc:date>2023-08-09T09:22:14Z</dc:date>
    <item>
      <title>Using FreeRTOS heap_5.c in S32 IDE 2.2</title>
      <link>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1691322#M25344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S32K142 and S32 Design Studio 2.2 so &lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK-Knowledge-Base/Using-FreeRTOS-heap-5-in-MCUXpresso-SDK/ta-p/1180982" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-SDK-Knowledge-Base/Using-FreeRTOS-heap-5-in-MCUXpresso-SDK/ta-p/1180982&lt;/A&gt;&amp;nbsp;according to this link I want&amp;nbsp;to implement heap_5.c. I attached my code snippet below. When I run the code, tashscheduler did not start an error occured. I am not sure static __attribute__ ((used,section(".m_data_2"))) uint8_t ucHeap[SRAM_UPPER_SIZE]; m_data_2 is correct?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ekran görüntüsü 2023-07-24 092347.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233261iE84D4DAA67FAA0B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ekran görüntüsü 2023-07-24 092347.png" alt="Ekran görüntüsü 2023-07-24 092347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 10:37:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1691322#M25344</guid>
      <dc:creator>maximillion</dc:creator>
      <dc:date>2023-07-24T10:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using FreeRTOS heap_5.c in S32 IDE 2.2</title>
      <link>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1701842#M25900</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A id="link_5" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188570" target="_self" aria-label="View Profile of maximillion"&gt;&lt;SPAN class=""&gt;maximillion&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Sorry for this lately reply.&lt;/P&gt;
&lt;P&gt;Firstly, i checked the SRAM of&amp;nbsp;&lt;SPAN&gt;S32K142, i think your address of SRAM_LOWER_START_ADDRESS is matching with size of LOWER, so the Heap region will continously from LOWER to UPPER. So i don't think the address of your SRAM in any problems.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K142_SRAM.png" style="width: 516px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235761iBF35A4F0CDC2042C/image-dimensions/516x360?v=v2" width="516" height="360" role="button" title="S32K142_SRAM.png" alt="S32K142_SRAM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Secondly, about&amp;nbsp;m_data_2&amp;nbsp;i can't find it in linker file of S32k142, did you using GCC or IAR compiler?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you share your using linker file?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will as OS team about this issue for more investigation, so it's really helpful if you can share to me the error log and details of package that you're using now.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know if you have further information.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nam.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 09:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1701842#M25900</guid>
      <dc:creator>NamLee</dc:creator>
      <dc:date>2023-08-09T09:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using FreeRTOS heap_5.c in S32 IDE 2.2</title>
      <link>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1701989#M25906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217474"&gt;@NamLee&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I added Linker Files used in the project.&lt;/P&gt;&lt;P&gt;Actually I am currently using heap_4.c now but when I run the code it throws an error in the vTaskStartScheduler function. According to the information from you, I will share the error codes when I try heap_5.c again.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 13:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1701989#M25906</guid>
      <dc:creator>maximillion</dc:creator>
      <dc:date>2023-08-09T13:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using FreeRTOS heap_5.c in S32 IDE 2.2</title>
      <link>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1704281#M26039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;maximillion,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I saw the memory section .m_data_2 only for SRAM_U, shall we expand it to SRAM_L address to have enough required memory?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_data_2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236302i231B2CBBB1D296CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="m_data_2.png" alt="m_data_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I checked linker_flash in Platform of K148 but it seems different, did you check those files?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nam.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 09:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Using-FreeRTOS-heap-5-c-in-S32-IDE-2-2/m-p/1704281#M26039</guid>
      <dc:creator>NamLee</dc:creator>
      <dc:date>2023-08-14T09:58:03Z</dc:date>
    </item>
  </channel>
</rss>

