How can i set my stack in cw10.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i set my stack in cw10.4

Jump to solution
661 Views
陈欣
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 Kudos
1 Solution
567 Views
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.

View solution in original post

0 Kudos
2 Replies
567 Views
陈欣
Contributor III

Thanks very much!

0 Kudos
568 Views
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 Kudos