print memory blocks information when not using LWMEM

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

print memory blocks information when not using LWMEM

1,087 次查看
dry
Senior Contributor I

There is a function _tad_lightweight_memory_blocks, which prints information about the LWMEM blocks free and allocated on the system. But this only works if you built the system with lightweight memory management.

Is there similar function to the print memory information when not using LWMEM, when only MQX_USE_MEM 1 is defined?

0 项奖励
回复
2 回复数

886 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi D.RY

When not using LWSEM, and define MQX_USE_MEM , we can get the MQX memory blocks info with TAD.

I tried this with Codewarrior.

pastedImage_2.png

pastedImage_1.png

Regards

Daniel

0 项奖励
回复

886 次查看
dry
Senior Contributor I

Hi,

Well that is with Code Warrior, I dont' know how it gets the numbers but I'm not using Code Warrior.

The code of the function I'm referring to uses LWMEM API, it won't even build without LWMEM support.

(Also you have a weird number on your screenshot above:  -2141006748% ??)

0 项奖励
回复