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
ls
1 parent 03b8ae1 commit 546da87cd8a331d65b8ede70b19f285d1e354a82
@Colin Hogben Colin Hogben authored on 20 Oct 2016
Showing 1 changed file
View
mbed.h