<?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>CodeWarrior for MCUのトピックRe: Any malloc,calloc,realloc,free causes ERROR L1102: Out of allocation space in CW 10.2</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Any-malloc-calloc-realloc-free-causes-ERROR-L1102-Out-of/m-p/629385#M13656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I didn't see your specific project I can only provide you general information about L1102 based on CW for HCS08 help manual:&lt;/P&gt;&lt;P&gt;========================================&lt;/P&gt;&lt;P&gt;The specified segment is not big enough to contain all objects from the sections placed in it.&lt;BR /&gt;&amp;lt;segment name&amp;gt;: is the name of the segment, which is too small.&lt;BR /&gt;&amp;lt;first address free&amp;gt;: is the first address free in this segment (i.e. the address following directly the last address used).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Tips&lt;BR /&gt;Set the end address of the specified segment to an higher value. &lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If above information can not help you out, please upload your demo project here. I will check it directly from my side.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 04:00:04 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2017-02-07T04:00:04Z</dc:date>
    <item>
      <title>Any malloc,calloc,realloc,free causes ERROR L1102: Out of allocation space in CW 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Any-malloc-calloc-realloc-free-causes-ERROR-L1102-Out-of/m-p/629384#M13655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing product development using Digi's programmable Xbee radio modem.&amp;nbsp; Digi's SDK integrates tightly with a "special" version (10.2) of Codewarrior.&amp;nbsp; If I introduce a line such as: &lt;STRONG&gt;p = calloc(4,sizeof(int)) &lt;/STRONG&gt;the linker throws ERROR L1102 and virtually nothing gets allocated memory according to the .map file.&amp;nbsp; If I comment&amp;nbsp;the calloc&amp;nbsp;out, the program compiles and links with no issues and still plenty of space according to the .map file.&amp;nbsp; This occurs with malloc, calloc, and free (I assume it will happen with realloc as well but since I can't get anything allocated...).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has been suggested that I modify LIBDEF_HEAPSIZE in libdefs.h (which defaults to 2000 - way too big as the Xbee only has 2k of ram) and recompile the hs08 libraries.&amp;nbsp; Unfortunately, this version of CW is license restricted to ridiculously small code sizes and is therefore useless for this purpose.&amp;nbsp; I have downloaded the trial version of CW 10.7 for MPU to attempt this but it generated a huge number of compile errors I am still trying to sort through - I am not hopeful...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suggestions?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 02:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Any-malloc-calloc-realloc-free-causes-ERROR-L1102-Out-of/m-p/629384#M13655</guid>
      <dc:creator>paulking</dc:creator>
      <dc:date>2017-01-19T02:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Any malloc,calloc,realloc,free causes ERROR L1102: Out of allocation space in CW 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Any-malloc-calloc-realloc-free-causes-ERROR-L1102-Out-of/m-p/629385#M13656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I didn't see your specific project I can only provide you general information about L1102 based on CW for HCS08 help manual:&lt;/P&gt;&lt;P&gt;========================================&lt;/P&gt;&lt;P&gt;The specified segment is not big enough to contain all objects from the sections placed in it.&lt;BR /&gt;&amp;lt;segment name&amp;gt;: is the name of the segment, which is too small.&lt;BR /&gt;&amp;lt;first address free&amp;gt;: is the first address free in this segment (i.e. the address following directly the last address used).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Tips&lt;BR /&gt;Set the end address of the specified segment to an higher value. &lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If above information can not help you out, please upload your demo project here. I will check it directly from my side.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 04:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Any-malloc-calloc-realloc-free-causes-ERROR-L1102-Out-of/m-p/629385#M13656</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-02-07T04:00:04Z</dc:date>
    </item>
  </channel>
</rss>

