Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
is there a solution for conditional compiling, depending on the chosen platform type?
I'm developing for LPC1114, but for easier testing I'm using normal mbed device. So I have to change platform type and many defines to match the appropriate processor type.
Sure I can use #define in combination with #ifdef / #else / #ifndef, but I'm asking if there might already be a directive to have the compiler decide which part of code has to be taken automatically (like MBED_BUILD_TIMESTAMP for example)?
Michael