AnsweredAssumed Answered

mchc912b32 - pragmas don't work?

Question asked by Frank Riley on Mar 11, 2009
Latest reply on Mar 11, 2009 by CompilerGuru

I've got a project targeted at a mchc912b32. I'm trying to use the following pragmas:

 

#pragma NO_ENTRY

#pragma NO_EXIT

#pragma NO_FRAME

#pragma INLINE

 

However, none of them do anything. In fact, all the NO* pragmas actually turn off inlining. If I get rid of the NO* pragmas and only use the INLINE pragma, the function does get inlined. How can I get the NO* pragmas working?

 

A related question, how do I specify the compiler flags for my project? I'm using the free version of CW for HC12.

Outcomes