• 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...
  • 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...
  • Error occuring for lessthan condition
    I am trying to code for 8051 microcontroller and for "less than (<)" condition I have tried to implement "<" in while loop as per the format but undefined error is occuring. Kindly help me with the solution...
  • Conditional Compiling for a library
    in referrence to following code, while generating library, what code would be included? My handler code or user callback function call??? void IRQ_Handler(void) { #if MACRO_ENABLED // My handler...