Cannot configure stack size for s32k3 using linker file.

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

Cannot configure stack size for s32k3 using linker file.

477 Views
RChatterjee
Contributor III

I am unable to configure the S32K358 stack size. Below is the linked id file. It is same for any S32K358 RTD example file for me. I need to increaze my stack size, how do I do it?

RChatterjee_0-1712765138087.png

 

Tags (2)
0 Kudos
Reply
1 Reply

450 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @RChatterjee,

There is 128KB of DTCM0 on S32K358.

danielmartynek_0-1712834004477.png

You can increase the size of int_stack_dtcm (LENGTH) from 4KB in the linker file.

I see that the MPU configuration in system.c already works with the whole DTCM0

danielmartynek_1-1712834372373.png

 

Regards,

Daniel

 

 

0 Kudos
Reply