• Is there conditional compilation depending on the project?
    Hi there! In a few weeks, I might have to derive a product from another products. The hardware is the same, but the software is slightly different. I think, it would be a drag to copy the sources...
  • Conditional Compile
    I am using version 6.0 with a GNU makefile. I have conditional code (both *.C and *.A51)I want to enable/disable through the make file on the command line. I am using the #ifdef DEBUG #endif // for...
  • Conditional compilation
    Hi, I am currently trying to get my code support two different type of LCD display, the only difference is the hardware level driver, so condional compilation directive has to be introduced. #ifdef...
  • Conditional Breakpoint
    Hello, I'm trying to set a conditional breakpoint. The debugger should break if a specific line is reached and an additional condition like x == 2 is true at the same time. I've tried an expression...
  • if condition
    Hello, I was compiling my firmware program written in C using Keil microVision2 V2.4 compiler. The target is c8051F120 microcontroller. I noticed that the compiler accepted the following: if...