Dear SDCC users and developers, I'd like to complie a project for PIC18F25J50 microcontroller.
In the code there are a multiple choice conditional preprocessor directives to adapt the code to different microcontrollers in the following way: ..... #elif defined(__18F13K50) || defined(__18F14K50) #define PIC_18F #define PIC18FxxK #define BD_RAM 0x200 #elif defined(__18F24J50) || defined(__18F25J50) || defined(__18F26J50) #define PIC_18F #define IS_18J #define PLLEN_REQD #define BD_RAM = 0x400 ..... I compile the code for 18F25J50, so this preprocessor constant should be defined but actually seems not. I call the compiler in the following way: sdcc -S -mpic16 -p18f25j50 -I. main.c I need to know which compiler directives are set. Can be they dumped during the compilation process? I'd like to check if __18F25J50 is in the list. Thanks in advance, Tamas Butuza ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user