9 years, 10 months 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>>

  1. ifned MBED This code is not compiled for mbed builds
  2. 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.