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
Solved! Go to Solution.
 
					
				
		
 danielchen
		
			danielchen
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
 
					
				
		
 danielchen
		
			danielchen
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
