change version number to v5.0.0 (#6291)

This commit is contained in:
Man, Jianting (Meco) 2022-08-28 11:28:30 -04:00 committed by GitHub
parent 3c4b835ed6
commit 7d58cf1644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -44,6 +44,7 @@
* 2022-04-20 Meco Man change version number to v4.1.1
* 2022-04-21 THEWON add macro RT_VERSION_CHECK
* 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__
@ -67,16 +68,16 @@ extern "C" {
/**@{*/
/* RT-Thread version information */
#define RT_VERSION 4 /**< major version number */
#define RT_SUBVERSION 1 /**< minor version number */
#define RT_REVISION 1 /**< revise version number */
#define RT_VERSION 5 /**< major version number */
#define RT_SUBVERSION 0 /**< minor 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 */
#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 */
#ifndef RT_USING_ARCH_DATA_TYPE

View File

@ -431,7 +431,7 @@ endmenu
config RT_VER_NUM
hex
default 0x40101
default 0x50000
help
RT-Thread version number