Location:
Search - os_tcb
Search list
Description: 值得参考Ucosii.h文件中对OS_TCB结构提的成员变量OSTCBDly的类型进行修改,改成INT16S型。
Os_core.c中,在OSInit函数中加入MinDelayTime初始化为0的语句,同时修改OSTimeTick函数
Platform: |
Size: 3700 |
Author: 3y6 |
Hits:
Description: 值得参考Ucosii.h文件中对OS_TCB结构提的成员变量OSTCBDly的类型进行修改,改成INT16S型。
Os_core.c中,在OSInit函数中加入MinDelayTime初始化为0的语句,同时修改OSTimeTick函数
Platform: |
Size: 4096 |
Author: 3y6 |
Hits:
Description: ucos基本模板,比较适合初学者使用,省去了搭建和移植的过程。希望能给大家提供帮助。(OSTaskCreate((OS_TCB *)&AppTaskStartTCB, /* Create the start task */
(CPU_CHAR *)"App Task Start",
(OS_TASK_PTR )AppTaskStart,
(void *)0,
(OS_PRIO )APP_CFG_TASK_START_PRIO,
(CPU_STK *)&AppTaskStartStk[0],
(CPU_STK_SIZE )APP_CFG_TASK_START_STK_SIZE / 10,
(CPU_STK_SIZE )APP_CFG_TASK_START_STK_SIZE,
(OS_MSG_QTY )0,
(OS_TICK )0,
(void *)0,
(OS_OPT )(OS_OPT_TASK_STK_CHK | OS_OPT_TASK_STK_CLR),
(OS_ERR *)&err);)
Platform: |
Size: 2016256 |
Author: 潜水的程序员 |
Hits:
Description: 适用于新学习操作系统的程序员,文件简单易懂,新玩家可以先拿去试试。(OSTaskCreate((OS_TCB *)&AppTaskStartTCB, /* Create the start task */
(CPU_CHAR *)"App Task Start",
(OS_TASK_PTR )AppTaskStart,
(void *)0,
(OS_PRIO )APP_CFG_TASK_START_PRIO,
(CPU_STK *)&AppTaskStartStk[0],
(CPU_STK_SIZE )APP_CFG_TASK_START_STK_SIZE / 10,
(CPU_STK_SIZE )APP_CFG_TASK_START_STK_SIZE,
(OS_MSG_QTY )0,
(OS_TICK )0,
(void *)0,
(OS_OPT )(OS_OPT_TASK_STK_CHK | OS_OPT_TASK_STK_CLR),
(OS_ERR *)&err);)
Platform: |
Size: 2368512 |
Author: 潜水的程序员 |
Hits: