#define

Post your requests and ideas on the future development of mikroC PRO for PIC.
Post Reply
Author
Message
PeterA
Posts: 127
Joined: 02 Jul 2008 11:01

#define

#1 Post by PeterA » 19 Dec 2011 16:20

1. Be able to put custom #define statements in the IDE and have som global ones like the current cpu MCU_PIC18Fxx

Code: Select all

#ifdef Target_PIC_REDY1
  #debug Build for PICRedy1
  Init_PIC_REDY();
#elif Target_EASYPIC6
  #debug Build for EasyPIC6
  Init_EasyPIC();
#endif

#ifdef MCU_PIC18Fxx

#endif
2. Be able to print information in the message window during compilation, such as # debug Message

Code: Select all

#ifdef Slave
  #debug Slave    // the text Slave should show in the message window
#else
  #debug Master  // the text Master should show in the message window
#endif

Post Reply

Return to “mikroC PRO for PIC Wish List”