How can i set my stack in cw10.4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can i set my stack in cw10.4

ソリューションへジャンプ
1,314件の閲覧回数
陈欣
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,220件の閲覧回数
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,220件の閲覧回数
陈欣
Contributor III

Thanks very much!

0 件の賞賛
返信
1,221件の閲覧回数
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 件の賞賛
返信