<?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: How do I set the stack size in linker flash S32K344.ld in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1737468#M27760</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,Hi,&lt;/P&gt;&lt;P&gt;After allocating the Stack size, should I add the following code?&lt;/P&gt;&lt;P&gt;__Stack_end_c0 = ORIGIN(int_sram_stack_c0);&lt;BR /&gt;__Stack_start_c0 = ORIGIN(int_sram_stack_c0) + LENGTH(int_sram_stack_c0);&lt;BR /&gt;__Stack_end_c1 = ORIGIN(int_sram_stack_c1);&lt;BR /&gt;__Stack_start_c1 = ORIGIN(int_sram_stack_c1) + LENGTH(int_sram_stack_c1);&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 12:04:09 GMT</pubDate>
    <dc:creator>shunyizhang</dc:creator>
    <dc:date>2023-10-11T12:04:09Z</dc:date>
    <item>
      <title>How do I set the stack size in linker flash S32K344.ld</title>
      <link>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1735741#M27683</link>
      <description>&lt;P&gt;Previously developed the S32K146 chip, modifying the stack size in the linked file is also relatively simple,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S32K146_128_flash.ld:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x00000400;&lt;BR /&gt;STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x00000400;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;linker_flash_s32k344.ld：&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x00002000;&lt;BR /&gt;__STANDBY_RAM_LIMIT_END = 0x20419000; /* 100Kbyte for standby ram */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What should I do if I want to change the stack size in the linker_flash_s32k344.ld file?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 11:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1735741#M27683</guid>
      <dc:creator>shunyizhang</dc:creator>
      <dc:date>2023-10-09T11:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the stack size in linker flash S32K344.ld</title>
      <link>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1735802#M27689</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222899"&gt;@shunyizhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you use RTD, the linker file defines sections for the stacks.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1696857121484.png" style="width: 729px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/244108iD0F1478D6D4235D6/image-dimensions/729x246?v=v2" width="729" height="246" role="button" title="danielmartynek_0-1696857121484.png" alt="danielmartynek_0-1696857121484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you change the stack sections, you need to adjust the adjacent sections accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:14:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1735802#M27689</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-09T13:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the stack size in linker flash S32K344.ld</title>
      <link>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1737468#M27760</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,Hi,&lt;/P&gt;&lt;P&gt;After allocating the Stack size, should I add the following code?&lt;/P&gt;&lt;P&gt;__Stack_end_c0 = ORIGIN(int_sram_stack_c0);&lt;BR /&gt;__Stack_start_c0 = ORIGIN(int_sram_stack_c0) + LENGTH(int_sram_stack_c0);&lt;BR /&gt;__Stack_end_c1 = ORIGIN(int_sram_stack_c1);&lt;BR /&gt;__Stack_start_c1 = ORIGIN(int_sram_stack_c1) + LENGTH(int_sram_stack_c1);&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 12:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1737468#M27760</guid>
      <dc:creator>shunyizhang</dc:creator>
      <dc:date>2023-10-11T12:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set the stack size in linker flash S32K344.ld</title>
      <link>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1737550#M27762</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222899"&gt;@shunyizhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is already there.&lt;/P&gt;
&lt;P&gt;Linker file from RTD 2.0.1 attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 13:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-do-I-set-the-stack-size-in-linker-flash-S32K344-ld/m-p/1737550#M27762</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-10-11T13:44:04Z</dc:date>
    </item>
  </channel>
</rss>

