mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
upgrade tencentos-tiny to c8e39739d3deb4e78d16b518ba2e3a20009bc0d7(Wed Apr 29 16:24:20 2020 +0800)
This commit is contained in:
parent
3a2a5b12b8
commit
81fc3f99ba
@ -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"
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user