MQX Memory Mapping

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,480件の閲覧回数
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,431件の閲覧回数
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,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 件の賞賛
返信