MQX 4.2 Dynamic Memory Allocation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX 4.2 Dynamic Memory Allocation

959 次查看
petermai
Contributor I

Hello everybody,

I am trying to find out how much data mqx is really using of its KERNEL memory in order to save memory.

After I write 0xFFFFF to my kernel area (0x3f04cae0 - 0x3f07fff0 ) all I see when pausing are some "stak (kats)" blocks within my kernel area 0x3f04cae0 - 0x3f07fff0 ).

==> How can I find out how much memory is really used by MQX? Can I somehow add the "kats" and the 0xFFFFFF addresses or is this the wrong way?

Thank you!

标记 (3)
0 项奖励
回复
1 回复

742 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Peter Mai 

I would suggest you take a look at the codesize demo in the MQX installation folder. The purpose of this demo is to analyze the MQX RTOS components of how much memory (ROM/RAM) they occupy to assist user in design of application.

Freescale_MQX_4_2\mqx\examples\benchmrk\codesize

I hope it helps.

Have a great day!

Regards

Daniel

------------------------------------------------------------------------------------------

If this post is helpful please click correct or helpful answer, thank you

0 项奖励
回复