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?
已解决! 转到解答。
Oh, crap... "Build_Tools_Utilities.pdf" (...\CWS12v5.1\Help\PDF) page 89 says:
"NOTE Older versions of the compiler may not issue the information. Also, this feature is currently only supported for HC(S)08 derivatives."
Guess I am out of luck then...
Thank you Alice!
/Martin
Oh, crap... "Build_Tools_Utilities.pdf" (...\CWS12v5.1\Help\PDF) page 89 says:
"NOTE Older versions of the compiler may not issue the information. Also, this feature is currently only supported for HC(S)08 derivatives."
Guess I am out of luck then...
Thank you Alice!
/Martin
Hi Martin,
I'm working on a question regarding the -STACK_CONSUMPTION.
The HC12 v5.1 is supporting this feature too.
However you must install the compiler update.
This file can be downloaded through the web side under your Freescale account
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------