<?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 Is the heap used by redlib? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Is-the-heap-used-by-redlib/m-p/653030#M32735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not use any malloc() calls anywhere in my code, and also no semihosting (Redlib: None).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Does this automaticly mean that I dont have to worry that my&amp;nbsp;firmware has enough&amp;nbsp;RAM left&amp;nbsp;to have room for the heap space, since I dont use the heap? Or are there some functions (like strlen in string.h) that do make use of the heap behind the scenes?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 11:32:06 GMT</pubDate>
    <dc:creator>muis</dc:creator>
    <dc:date>2016-10-20T11:32:06Z</dc:date>
    <item>
      <title>Is the heap used by redlib?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Is-the-heap-used-by-redlib/m-p/653030#M32735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not use any malloc() calls anywhere in my code, and also no semihosting (Redlib: None).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Does this automaticly mean that I dont have to worry that my&amp;nbsp;firmware has enough&amp;nbsp;RAM left&amp;nbsp;to have room for the heap space, since I dont use the heap? Or are there some functions (like strlen in string.h) that do make use of the heap behind the scenes?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 11:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Is-the-heap-used-by-redlib/m-p/653030#M32735</guid>
      <dc:creator>muis</dc:creator>
      <dc:date>2016-10-20T11:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is the heap used by redlib?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Is-the-heap-used-by-redlib/m-p/653031#M32736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Redlib (None) I am pretty certain that you should be OK. But you can double check in the map file generated in the Debug/Release directory by the link step of your build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will currently end up with malloc if you build against Redlib (Nohost) or Redlib (Semihost) though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do remember that, even if you are not using the heap, your stack will still consume memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LPCXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 13:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Is-the-heap-used-by-redlib/m-p/653031#M32736</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2016-10-20T13:42:01Z</dc:date>
    </item>
  </channel>
</rss>

