change version number to v5.0.0 (#6291)
This commit is contained in:
parent
3c4b835ed6
commit
7d58cf1644
|
@ -44,6 +44,7 @@
|
||||||
* 2022-04-20 Meco Man change version number to v4.1.1
|
* 2022-04-20 Meco Man change version number to v4.1.1
|
||||||
* 2022-04-21 THEWON add macro RT_VERSION_CHECK
|
* 2022-04-21 THEWON add macro RT_VERSION_CHECK
|
||||||
* 2022-06-29 Meco Man add RT_USING_LIBC and standard libc headers
|
* 2022-06-29 Meco Man add RT_USING_LIBC and standard libc headers
|
||||||
|
* 2022-08-16 Meco Man change version number to v5.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __RT_DEF_H__
|
#ifndef __RT_DEF_H__
|
||||||
|
@ -67,16 +68,16 @@ extern "C" {
|
||||||
/**@{*/
|
/**@{*/
|
||||||
|
|
||||||
/* RT-Thread version information */
|
/* RT-Thread version information */
|
||||||
#define RT_VERSION 4 /**< major version number */
|
#define RT_VERSION 5 /**< major version number */
|
||||||
#define RT_SUBVERSION 1 /**< minor version number */
|
#define RT_SUBVERSION 0 /**< minor version number */
|
||||||
#define RT_REVISION 1 /**< revise version number */
|
#define RT_REVISION 0 /**< revise version number */
|
||||||
|
|
||||||
|
/* e.g. #if (RTTHREAD_VERSION >= RT_VERSION_CHECK(4, 1, 0) */
|
||||||
|
#define RT_VERSION_CHECK(major, minor, revise) ((major * 10000) + (minor * 100) + revise)
|
||||||
|
|
||||||
/* RT-Thread version */
|
/* RT-Thread version */
|
||||||
#define RTTHREAD_VERSION RT_VERSION_CHECK(RT_VERSION, RT_SUBVERSION, RT_REVISION)
|
#define RTTHREAD_VERSION RT_VERSION_CHECK(RT_VERSION, RT_SUBVERSION, RT_REVISION)
|
||||||
|
|
||||||
/* e.g. #if (RTTHREAD_VERSION >= RT_VERSION_CHECK(4, 1, 0) */
|
|
||||||
#define RT_VERSION_CHECK(major, minor, revise) ((major * 10000) + \
|
|
||||||
(minor * 100) + revise)
|
|
||||||
|
|
||||||
/* RT-Thread basic data type definitions */
|
/* RT-Thread basic data type definitions */
|
||||||
#ifndef RT_USING_ARCH_DATA_TYPE
|
#ifndef RT_USING_ARCH_DATA_TYPE
|
||||||
|
|
|
@ -431,7 +431,7 @@ endmenu
|
||||||
|
|
||||||
config RT_VER_NUM
|
config RT_VER_NUM
|
||||||
hex
|
hex
|
||||||
default 0x40101
|
default 0x50000
|
||||||
help
|
help
|
||||||
RT-Thread version number
|
RT-Thread version number
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue