print memory blocks information when not using LWMEM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

print memory blocks information when not using LWMEM

473 Views
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 Kudos
2 Replies

272 Views
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 Kudos

272 Views
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 Kudos