AnsweredAssumed Answered

The linker option "–StackConsumption" does not work for HC12

Question asked by Martin Leben on Jan 20, 2015
Latest reply on Feb 12, 2015 by Pascal Irrle

Hi!

I develop for the HC12 processor family and want to know the maximum stack usage in my program. In the doc's I found the linker option "–StackConsumption". I enabled it and it requires a stanza in the PRM file, which I also added:

STACK_CONSUMPTION

ROOT main

END

END

 

However, when I try to build I get the following errors:

  Error : Internal Error

  Link Error : Link failed

 

What am I doing wrong?

Outcomes