mirror of https://github.com/ARMmbed/mbed-os.git
Set mbed minor and patch version to 0 for master
The proper version will be set for releases.pull/4292/head
parent
d04d588106
commit
be0f65a417
10
mbed.h
10
mbed.h
|
@ -16,13 +16,17 @@
|
|||
#ifndef MBED_H
|
||||
#define MBED_H
|
||||
|
||||
#define MBED_LIBRARY_VERSION 123
|
||||
|
||||
/* mbed minor and patch versions for both mbed 2 and mbed OS 5 are 0 on master branch. They are set
|
||||
to meaningful values for releases and release branches.
|
||||
*/
|
||||
#define MBED_LIBRARY_VERSION 0
|
||||
|
||||
#if MBED_CONF_RTOS_PRESENT
|
||||
// RTOS present, this is valid only for mbed OS 5
|
||||
#define MBED_MAJOR_VERSION 5
|
||||
#define MBED_MINOR_VERSION 2
|
||||
#define MBED_PATCH_VERSION 1
|
||||
#define MBED_MINOR_VERSION 0
|
||||
#define MBED_PATCH_VERSION 0
|
||||
|
||||
#else
|
||||
// mbed 2
|
||||
|
|
|
@ -40,10 +40,6 @@ using namespace rtos;
|
|||
*/
|
||||
#include "mbed.h"
|
||||
|
||||
#if (MBED_LIBRARY_VERSION < 122)
|
||||
#error "This version of RTOS requires mbed library version > 121"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/** @}*/
|
||||
|
|
Loading…
Reference in New Issue