Task Stack @ location + some task stack usage questions

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

Task Stack @ location + some task stack usage questions

跳至解决方案
1,328 次查看
CarlFST60L
Senior Contributor II

Hi,

 

Some quick questions to help use fit more tasks into our already full MCF52259 based product:

 

1. How do I create a task with a stack in another location? Example, create a task that uses MRAM on the 52259evb as the stack space, and, have all the other tasks still runing on internal RAM space?

 

2. Apart from moving RAM varibles to MRAM, is there anything else 'obvious' I do to reduce the stack usage?

 

3. Does the TAD stack usage percentage show the maximum used stack, or, the current used stack?

 

0 项奖励
回复
1 解答
852 次查看
CarlFST60L
Senior Contributor II

I have realised that there is a 'major' change to MQX3.6.0 from previous versions. There is no longer debug and release MQX, you have to build MQX with either release or debug! This is why I was using so much stack all of a sudden, it was set as debug and passing everything on stack.

 

I found this in the release notes after several hours head scratching

在原帖中查看解决方案

0 项奖励
回复
1 回复
853 次查看
CarlFST60L
Senior Contributor II

I have realised that there is a 'major' change to MQX3.6.0 from previous versions. There is no longer debug and release MQX, you have to build MQX with either release or debug! This is why I was using so much stack all of a sudden, it was set as debug and passing everything on stack.

 

I found this in the release notes after several hours head scratching

0 项奖励
回复