AnsweredAssumed Answered

How to kill the memory size limit for the variable?

Question asked by guo huoping on Nov 28, 2014
Latest reply on Nov 28, 2014 by guo huoping

In the KDS IDE, I define a variable as follows:



uint8 pic_data[MAX_DATA_LENGTH];


When I build the project, compiler push these problem


I watch the .map file, I got the message as follow


So I think, the compiler have the limitation size of 0x00008000 ,and I define the variable pic_data whitch overlow the limit.

Unfortunately, I have to define this variable which need to have buffer size of 40*1024 byte.

Also, I select the MCU part number MK10DX256VLH7, and it has ram size of 64k byte. I am sure the variable size is in the physical limit.

Can you tell me how to change the memory configuration!


消息编辑者为:guo huoping