<?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: can't declare a static matrix bigger than 49x16 in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/can-t-declare-a-static-matrix-bigger-than-49x16/m-p/417175#M2776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;the error means that you are using more RAM than you have available.&lt;/P&gt;&lt;P&gt;Why is your array an array of int? char should be enough? that would be 4 times less memory :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 15:32:38 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2015-06-01T15:32:38Z</dc:date>
    <item>
      <title>can't declare a static matrix bigger than 49x16</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/can-t-declare-a-static-matrix-bigger-than-49x16/m-p/417174#M2775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I am developing using the FRDM KE02 and I have the following problem. In my project, I have a printer in which I need the ascii characters from the 0x20 (space) to the 0x7A (z). This is a total of 91 characters. In orden to print them correctly, each character is a vector of 16 bytes. This is why I need a 91x16 matrix to describe all the characters I need. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I want to declare this static matrix as:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unsigned int MATRIX_CHARACTERS[91][16 ] = {{},{},...,.{}}; as a global variable, it doesn't compile. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is: "c:/freescale/cw mcu v10.6/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: region `m_data' overflowed by 2660 bytes"&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve this problem?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need this matrix to be static and to be in memory code. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Juan Ignacio Troisi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:00:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/can-t-declare-a-static-matrix-bigger-than-49x16/m-p/417174#M2775</guid>
      <dc:creator>juanignaciotroi</dc:creator>
      <dc:date>2015-06-01T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: can't declare a static matrix bigger than 49x16</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/can-t-declare-a-static-matrix-bigger-than-49x16/m-p/417175#M2776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;the error means that you are using more RAM than you have available.&lt;/P&gt;&lt;P&gt;Why is your array an array of int? char should be enough? that would be 4 times less memory :-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/can-t-declare-a-static-matrix-bigger-than-49x16/m-p/417175#M2776</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-01T15:32:38Z</dc:date>
    </item>
  </channel>
</rss>

