• rather than #ifdef
    I am working on some stuff with 4711 #ifdefs and, on most global searches, end up looking at inactive code. To obtain 'marked' code lines I tried to replace #ifdef BLAH ....... with //#define...
  • rather than #ifdef
    I am working on some stuff with 4711 #ifdefs and, on most global searches, end up looking at inactive code. To obtain 'marked' code lines I tried to replace #ifdef BLAH ....... with //#define...
  • when #ifdeffing a testsnippet
    when #ifdeffing a testsnippet it is, often, desirable to be able to do this: code .... code .... #ifdef DOIT BOOL flag if (flag) .... Keil does not allow definitions in the middle of a routine...
  • when #ifdeffing a testsnippet
    when #ifdeffing a testsnippet it is, often, desirable to be able to do this: code .... code .... #ifdef DOIT BOOL flag if (flag) .... Keil does not allow definitions in the middle of a routine...
  • Can I use #ifdef in STARTUP.A51
    My current project has 2 targets, For 1 the code starts at 0x0000 and for the other the code starts at 0x8000. I therefore modified STARTUP.A51 to give: PUBLIC ?C_STARTUP #ifdef TOP CSEG AT 0x8000...