AnsweredAssumed Answered

KW30Z Connectivity CSTACK warning

Question asked by Lucian Firan on Mar 2, 2017
Latest reply on Mar 9, 2017 by Jorge Antonio Alcala Vazquez

IAR 7.50;  KW40Z_Connectivity_Software_1.0.1 (KSDK_1.3.0)

 

If enable graphical stack display from Tool Options...

Got some warnings if set some break points

 

\platform\devices\MKW30Z4\linker\iar\MKW30Z160xxx4_connectivity.icf

 

if (isdefinedsymbol(__stack_size__)) {
  define symbol __size_cstack__        = __stack_size__;
} else {
  define symbol __size_cstack__        = 512;
}

if (isdefinedsymbol(__heap_size__)) {
  define symbol __size_heap__          = __heap_size__;
} else {
  define symbol __size_heap__          = 0;
}

...

define block CSTACK    with alignment = 8, size = __size_cstack__   { };
define block HEAP      with alignment = 8, size = __size_heap__     { };

 

 

Should the stack be increase and how much ?

Should de heap remain 0 (zero) ?

Outcomes