Skip to content

Commit be0f65a

Browse files
committed
Set mbed minor and patch version to 0 for master
The proper version will be set for releases.
1 parent d04d588 commit be0f65a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

mbed.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@
1616
#ifndef MBED_H
1717
#define MBED_H
1818

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
2024

2125
#if MBED_CONF_RTOS_PRESENT
2226
// RTOS present, this is valid only for mbed OS 5
2327
#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
2630

2731
#else
2832
// mbed 2

rtos/rtos.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ using namespace rtos;
4040
*/
4141
#include "mbed.h"
4242

43-
#if (MBED_LIBRARY_VERSION < 122)
44-
#error "This version of RTOS requires mbed library version > 121"
45-
#endif
46-
4743
#endif
4844

4945
/** @}*/

0 commit comments

Comments
 (0)