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!
-----------------------------------------------------------------------------------------------------------------------