Add mbed OS version macros
Allow compile-time tests on the version of mbed-os to cope with e.g. API changes across versions. To distinguish between mbed OS 2 and mbed OS 5, we use the MBED_CONF_RTOS_PRESENT macro. Note: mbed OS 2 versioning is 2.0.MBED_LIBRARY_VERSION |
---|
|
mbed.h |
---|