Hi Freescale Community.
I've been doing tests and I've seen that the maximum dynamic memory allocation that I can reserve is approximately 32 Kbytes, neither I can reserve two blocks of 32 Kbytes, only one block.
I need to increase the heap for dynamic memory, and to know where is defined and how to modify this value.
I am working with CW10.3, TowerK40, MQX and C++ compiler.
Thanks for any answer about this problem.
Hi Monica.
Finally, we have installed a SRAM memory and we haven't changed the free space definition of heap.
Thanks!
Raúl
By default, the MQX will create system pool after the kernal_data(located at BSP_DEFALT_START_OF_KERNEL_MEMORY), please refer the code in mem.c, line 1975-1977.
And please check the memory pool infor using MQX plug-in, escpecaily the free size of it after the first 32KByte allcated.