60 * Macro can be used to check minimum Mbed OS version required for feature/library. If current version
61 * is less than required, it will assert.
62 *
63 * @note: Version of master branch will be 999999 as default, hence no assert/warning is provided for
64 * master branch code
65 */
66#define MBED_VERSION_CHECK(major, minor, patch) do { \
67 MBED_STATIC_ASSERT((MBED_VERSION >= MBED_ENCODE_VERSION((major),(minor),(patch))), "Incompatible mbed-os version detected!!"); \
68 } while(0)
69
70#endif
71
72/** @}*/
73/** @}*/
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.