59 * Macro can be used to check minimum Mbed OS version required for feature/library. If current version
60 * is less than required, it will assert.
61 *
62 * @note: Version of master branch will be 999999 as default, hence no assert/warning is provided for
63 * master branch code
64 */
65#define MBED_VERSION_CHECK(major, minor, patch) do { \
66 MBED_STATIC_ASSERT((MBED_VERSION >= MBED_ENCODE_VERSION((major),(minor),(patch))), "Incompatible mbed-os version detected!!"); \
67 } while(0)
68
69#endif
70
71/** @}*/
72/** @}*/
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.