print memory blocks information when not using LWMEM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

print memory blocks information when not using LWMEM

1,095件の閲覧回数
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 返答(返信)

894件の閲覧回数
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 件の賞賛
返信

894件の閲覧回数
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 件の賞賛
返信