Merge pull request #63 from gwnpeter/rtx5

增加rtx5支持,修改字符格式化方式适应更多场合
This commit is contained in:
朱天龙 (Armink)
2022-08-24 09:36:23 +08:00
committed by GitHub
6 changed files with 17 additions and 7 deletions
+3
View File
@@ -46,6 +46,7 @@
#define CMB_OS_PLATFORM_UCOSII 1
#define CMB_OS_PLATFORM_UCOSIII 2
#define CMB_OS_PLATFORM_FREERTOS 3
#define CMB_OS_PLATFORM_RTX5 4
#define CMB_PRINT_LANGUAGE_ENGLISH 0
#define CMB_PRINT_LANGUAGE_CHINESE 1
@@ -336,6 +337,8 @@ if (!(EXPR)) \
extern uint32_t *vTaskStackAddr(void);/* need to modify the FreeRTOS/tasks source code */
extern uint32_t vTaskStackSize(void);
extern char * vTaskName(void);
#elif (CMB_OS_PLATFORM_TYPE == CMB_OS_PLATFORM_RTX5)
#include "rtx_os.h"
#else
#error "not supported OS type"
#endif /* (CMB_OS_PLATFORM_TYPE == CMB_OS_PLATFORM_RTT) */