We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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! :)
"I need to be able to figure out if they have turned a flag on!" The complete invocation line appears at the top of the listing file - that should do it! C51 doesn't have a #pragma echo - only #pragma error.
"C51 doesn't have a #pragma echo - only #pragma error." It's actually #error. Keil does have #warning though, which will do what you want. Stefan