This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Want to echo stuff in the build window.

Other compilers and IDE's that I have used in the past have allowed me to "echo" strings or whatever I wanted in the build window. Does anyone out there know if/how I can do this in uVision2?

I'll give an example:

When I compile a file, say foo.c I want it to print out the various #define flags that are set.. so for example in the past I have done the following:

#ifdef _MYDEF_
#pragma ECHO "_MYDEF_ "
#endif

something like that.

I know.. strange request, but because I have so many young engineers working here, I need to be able to figure out if they have turned a flag on! :)

0