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.
10 years, 1 month ago. This question has been closed. Reason: Duplicate question
mbed preprocessor definition
EDIT - Double posted somehow. Please delete.
Does mbed have a preprocessor definition? I tried MBED, _MBED and _ _MBED, but none of them are defined.
For example.
<<code>>
- ifned MBED This code is not compiled for mbed builds
- endif <<code>
(I have no idea why I can't get that code block to work, and I'm not going to mess with it more after half a dozen tries)
Thanks.