File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
#ifndef MBED_H
17
17
#define MBED_H
18
18
19
- #define MBED_LIBRARY_VERSION 123
19
+
20
+ /* mbed minor and patch versions for both mbed 2 and mbed OS 5 are 0 on master branch. They are set
21
+ to meaningful values for releases and release branches.
22
+ */
23
+ #define MBED_LIBRARY_VERSION 0
20
24
21
25
#if MBED_CONF_RTOS_PRESENT
22
26
// RTOS present, this is valid only for mbed OS 5
23
27
#define MBED_MAJOR_VERSION 5
24
- #define MBED_MINOR_VERSION 2
25
- #define MBED_PATCH_VERSION 1
28
+ #define MBED_MINOR_VERSION 0
29
+ #define MBED_PATCH_VERSION 0
26
30
27
31
#else
28
32
// mbed 2
Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ using namespace rtos;
40
40
*/
41
41
#include " mbed.h"
42
42
43
- #if (MBED_LIBRARY_VERSION < 122)
44
- #error "This version of RTOS requires mbed library version > 121"
45
- #endif
46
-
47
43
#endif
48
44
49
45
/* * @}*/
You can’t perform that action at this time.
0 commit comments