How can i set my stack in cw10.4

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

How can i set my stack in cw10.4

跳至解决方案
1,307 次查看
陈欣
Contributor III

I use the MKL25Z MUC,

I find my Memory overflow.but,I do not know how to change and view it.

Seek guidance!

0 项奖励
回复
1 解答
1,213 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

this is configured in the linker file.

E.g. you should have something like this:

__stack_size = 0x400;    /* required amount of stack */

So you can increase the stack size there.


If you are using a Processor Expert project, then go to the CPU component > build options tab, where you can configure it:


4666_4666.png

I hope this helps.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,213 次查看
陈欣
Contributor III

Thanks very much!

0 项奖励
回复
1,214 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

this is configured in the linker file.

E.g. you should have something like this:

__stack_size = 0x400;    /* required amount of stack */

So you can increase the stack size there.


If you are using a Processor Expert project, then go to the CPU component > build options tab, where you can configure it:


4666_4666.png

I hope this helps.

0 项奖励
回复