Using MQX Kinetis K40x256, in the init_bsp.c file, the _bsp_enable_card function allocates all memory below 0x20000000. The comments state that it is a memory splitter to prevent accessing both ram banks in one instruction. This takes up 30K of my precious 64K SRAM.
So I can only use 32K (the uppoer half) of the 64K SRAM available? I cannot believe that is a valid solution.
Does anyone have a work around for this?
已解决! 转到解答。
Hi, I got the same problem, I am using K61, 128K internal ram. Before this memory splitter, I got about 93K heap, but after this code I got only 23K available.
What I did is just remove this line of code and test it.
I am using FSLMQX 4.0.2, can anyone give me some advices to fix this problem?
Thanks in advance.