MQX Memory Mapping

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

MQX Memory Mapping

跳至解决方案
1,481 次查看
richdinoso
Contributor I

Hello,

I am trying to understand where MQX memory is allocated.

My .map file is attached.

When I display the MQX highwater mark with the function _mem_get_highwater(), I get 2002F44F, and that is between the heap and stack shown in my .Map file. Where are the task stacks, semaphores, message boxes, etc allocated? And how do I determine and adjust the size of that memory?

 

Thank you.

--- Richard

 

0 项奖励
回复
1 解答
1,432 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi :

 

_mem_get_highwater:  Gets the highest memory address that has been allocated in the default memory pool.

For the heap and stack size and location,  we need to check the compile tool doc.

For the semaphore , stack, and heap address, you can check the MQX TAD tool

 

 

Regards

Daniel

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,433 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi :

 

_mem_get_highwater:  Gets the highest memory address that has been allocated in the default memory pool.

For the heap and stack size and location,  we need to check the compile tool doc.

For the semaphore , stack, and heap address, you can check the MQX TAD tool

 

 

Regards

Daniel

0 项奖励
回复