AnsweredAssumed Answered

can't declare a static matrix bigger than 49x16

Question asked by Juan Ignacio Troisi on Jun 1, 2015
Latest reply on Jun 1, 2015 by Erich Styger

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.


However, when I want to declare this static matrix as:


unsigned int MATRIX_CHARACTERS[91][16 ] = {{},{},...,.{}}; as a global variable, it doesn't compile.


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"


How can I solve this problem?


I need this matrix to be static and to be in memory code.


Thank you, Juan Ignacio Troisi