• 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...
  • debug messages using ifdef
    Hi, there's one pin depending on his level (high or low), the programm should / or should not transmit all the rs232 debug messages (printf()) to the hyperterminal. How is it possible to use...
  • hide undefined #ifdef sections in µV4 editor
    Is is posible to hide undefined sections? in case of several possible controllers i use something like that: #define CONTR2 #ifdef CONTR1 ... #else #ifndef CONTR3 ... #endif ... #endif...
  • 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...
  • Using #ifdef in scatter file in ARM compiler v6
    Hi, I am porting an application from ARM compiler V5 to ARM Compiler V6.0. I have been able to compile the application.While linking there is an issue, we are having #ifdev REV1 in thr scatter file...