KDS 3.2.0 How to increase HEAP size without Processor Expert

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

KDS 3.2.0 How to increase HEAP size without Processor Expert

1,185 Views
isaotakashima
Contributor IV

I'm making the new project using Kinetis SDK 2.0 by KDS 3.2.0 for the TWR-K65F180M.

I cannot make the new Processor Expert project by KDS 3.2.0, then I made the Kinetis SDK 2.x project.

I can increase HEAP size by edit MK65FN2M0xxx18_flash.ld as below.

HEAP_SIZE  = DEFINED(__heap_size__)  ? __heap_size__  : 0x1000;    /* increase HEAP size from 0x0400; */

STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;

 

Can I increase HEAP size by GUI?

 

Please advise as soon as possible.

 

Best regards,

Takashima

Labels (1)
Tags (1)
1 Reply

567 Views
BlackNight
NXP Employee
NXP Employee

Hi Takashima,

No, there is no specific GUI. But you can specify the heap and stack size with the linker commands (or actually in the linker panel GUI), see

https://mcuoneclipse.com/2016/04/17/changing-heap-and-stack-size-for-nxp-kinetis-sdk-v2-0-gcc-projec...

I hope this helps,

Erich