Hi:
we are using JN5169 with JN-SW4168 .
what is the maximum value that Stack Size and Minimum Size can set?
Could I get the stack size parameters in my program? How do I get this parameter?
Best Regards,
Pan
HI Feng,
The CPU stack size and minimum heap size are referenced from two variables. If CPU stack and heap sizes are required that are larger than the defaults of 5K bytes and 2K bytes respectively, these should now be defined in the application makefiles.
The variables to be defined in the makefile are:
STACK_SIZE ?= 6000
MINIMUM_HEAP_SIZE ?= 2000
Best Regards,
Mario
Hi Mario,
Thanks for your answer.
I know that I can define these two values in the makefile.And I want to know how much I can define the maximum value?
Best Regards,
Feng
Hi Feng,
We define the stack size to be 5000 by default and heap to be 2000 by default for JN-SW-4168 SDK as this is the minimum required for Zigbee application using JN-SW-4168 SDK.
Maximum value depend on how much RAM is left in your application
Best Regards,
Mario