upgrade tencentos-tiny to c8e39739d3deb4e78d16b518ba2e3a20009bc0d7(Wed Apr 29 16:24:20 2020 +0800)

This commit is contained in:
lixianjing 2020-05-07 15:36:06 +08:00
parent 3a2a5b12b8
commit 81fc3f99ba
4 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/** /**
* File: mutex.c * File: mutex.c
* Author: AWTK Develop Team * Author: AWTK Develop Team
* Brief: mutex base on tos_mutex * Brief: mutex base on tos_mutex
@ -19,7 +19,7 @@
* *
*/ */
#include "tos.h" #include "tos_k.h"
#include "tkc/mem.h" #include "tkc/mem.h"
#include "tkc/mutex.h" #include "tkc/mutex.h"

View File

@ -19,12 +19,11 @@
* *
*/ */
#include "tos.h" #include "tos_k.h"
#include "platforms/common/rtos.h" #include "platforms/common/rtos.h"
ret_t rtos_init(void) { ret_t rtos_init(void) {
tos_knl_init(); tos_knl_init();
tos_robin_config(TOS_ROBIN_STATE_ENABLED, (k_timeslice_t)500u);
return RET_OK; return RET_OK;
} }

View File

@ -1,4 +1,4 @@
/** /**
* File: semaphore.c * File: semaphore.c
* Author: AWTK Develop Team * Author: AWTK Develop Team
* Brief: semaphore * Brief: semaphore
@ -19,7 +19,7 @@
* *
*/ */
#include "tos.h" #include "tos_k.h"
#include "tkc/mem.h" #include "tkc/mem.h"
#include "tkc/time_now.h" #include "tkc/time_now.h"

View File

@ -1,4 +1,4 @@
/** /**
* File: thread.c * File: thread.c
* Author: AWTK Develop Team * Author: AWTK Develop Team
* Brief: thread on cmsis_os * Brief: thread on cmsis_os
@ -19,7 +19,7 @@
* *
*/ */
#include "tos.h" #include "tos_k.h"
#include "tkc/mem.h" #include "tkc/mem.h"
#include "tkc/utils.h" #include "tkc/utils.h"
#include "tkc/thread.h" #include "tkc/thread.h"