<?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: stack size during linking time in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172052#M5815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try searching online help for __SEG_SIZE_SSTACK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern int __SEG_SIZE_SSTACK[];&lt;BR /&gt;int a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; a = (int)__SEG_SIZE_SSTACK;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 21:15:55 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2011-10-05T21:15:55Z</dc:date>
    <item>
      <title>stack size during linking time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172051#M5814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if is possible to get a stack size in "c" module during linking time? I am using FreeScale compiler.&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;================================&lt;/P&gt;&lt;P&gt;extern unsigned __stack_size;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unsigned stack_size()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;return &amp;nbsp;__stack_size;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking in linker map file, but seems there is not any object connected with stack size, only with top of stack.&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 19:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172051#M5814</guid>
      <dc:creator>grzegorzK</dc:creator>
      <dc:date>2011-10-05T19:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: stack size during linking time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172052#M5815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try searching online help for __SEG_SIZE_SSTACK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;extern int __SEG_SIZE_SSTACK[];&lt;BR /&gt;int a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; a = (int)__SEG_SIZE_SSTACK;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 21:15:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172052#M5815</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-10-05T21:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: stack size during linking time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172053#M5816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I needed...&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 19:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/stack-size-during-linking-time/m-p/172053#M5816</guid>
      <dc:creator>grzegorzK</dc:creator>
      <dc:date>2011-10-06T19:06:07Z</dc:date>
    </item>
  </channel>
</rss>

