Hi All,
Can anyone tell me how to determine how much RAM is required for KERNAL_DATA with MQX 3.7 and a MPC5125? The Linker Command Files seem to provide an awful lot of RAM (avg 100MB out of 256MB) in the MQX examples. I'd like to shrink this amount to free up RAM for use by my data objects but I'm not sure how to determine how much is required.
Also, am I correct to assume that the memory allocated for the heap is taken from this RAM? Thanks!
~Tim
Solved! Go to Solution.
Hi tim562,
Your assumption is right with the heap taken from RAM.
We checked MPC5125 linker command file and this issue is going to be fixed soon. You can correct it in the meantime.
Look at twrpxs20 linker command file where kernel data are put in the end of ram, start is not assigned to the specific address.
Regards,
MartinK
Hi tim562,
Your assumption is right with the heap taken from RAM.
We checked MPC5125 linker command file and this issue is going to be fixed soon. You can correct it in the meantime.
Look at twrpxs20 linker command file where kernel data are put in the end of ram, start is not assigned to the specific address.
Regards,
MartinK
I see what your saying Kojto, thanks for the reply.
Best Regards,
~Tim