礦ision Build Log

Project:

C:\Users\wangjun\Desktop\Cortex-M3_Execute_of_uCOSII_for_lpc1752\Ucos-II_for_LPC1752.uvproj Project File Date: 01/24/2015

Output:

Rebuild target 'DebugInRAM' compiling core_cm3.c... compiling system_LPC17xx.c... assembling startup_LPC17xx.s... compiling main.c... compiling OS_CORE.C... compiling OS_FLAG.C... compiling OS_MBOX.C... compiling OS_MEM.C... compiling OS_MUTEX.C... compiling OS_Q.C... compiling OS_SEM.C... compiling OS_TASK.C... compiling OS_TIME.C... compiling Os_cpu_c.c... linking... Program Size: Code=8794 RO-data=502 RW-data=84 ZI-data=7964 ".\Out\DebugInRAM\Ucos-II_for_LPC1752.axf" - 0 Error(s), 0 Warning(s).
//如果有多个任务在运行 uCOS-II\OS_CORE.C(213): error: #20: identifier "TRUE" is undefined if (OSRunning == TRUE) { /* Make sure multitasking is running */ uCOS-II\OS_CORE.C(246): error: #20: identifier "FALSE" is undefined if (OSRunning == FALSE) {//OSRunning已设为"真",指出多任务已经开始 uCOS-II\OS_CORE.C(285): error: #20: identifier "TRUE" is undefined OSStatRdy = TRUE; //将统计任务就绪标志OSStatRdy设为"真",以此来允许两个时钟节拍 uCOS-II\OS_CORE.C(310): error: #20: identifier "TRUE" is undefined if (OSRunning == TRUE) { uCOS-II\OS_CORE.C(568): error: #20: identifier "FALSE" is undefined OSRunning = FALSE; /* Indicate that multitasking not started */ uCOS-II\OS_CORE.C(862): error: #20: identifier "FALSE" is undefined while (OSStatRdy == FALSE) { uCOS-II\OS_CORE.C: 0 warnings, 9 errors compiling OS_FLAG.C... uCOS-II\OS_FLAG.C(70): error: #20: identifier "TRUE" is undefined consume = TRUE; uCOS-II\OS_FLAG.C(72): error: #20: identifier "FALSE" is undefined consume = FALSE; uCOS-II\OS_FLAG.C(80): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(93): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(107): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(120): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(229): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_FLAG.C(231): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_FLAG.C(235): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_FLAG.C(258): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_FLAG.C(333): error: #20: identifier "TRUE" is undefined consume = TRUE; uCOS-II\OS_FLAG.C(335): error: #20: identifier "FALSE" is undefined consume = FALSE; uCOS-II\OS_FLAG.C(343): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(359): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(376): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(392): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(421): error: #20: identifier "TRUE" is undefined if (consume == TRUE) { /* See if we need to consume the flags */ uCOS-II\OS_FLAG.C(498): error: #20: identifier "FALSE" is undefined sched = FALSE; /* Indicate that we don't need rescheduling */ uCOS-II\OS_FLAG.C(505): error: #20: identifier "TRUE" is undefined if (OS_FlagTaskRdy(pnode, flags_rdy) == TRUE) { /* Make task RTR, event(s) Rx'd */ uCOS-II\OS_FLAG.C(514): error: #20: identifier "TRUE" is undefined if (OS_FlagTaskRdy(pnode, flags_rdy) == TRUE) { /* Make task RTR, event(s) Rx'd */ uCOS-II\OS_FLAG.C(524): error: #20: identifier "TRUE" is undefined if (OS_FlagTaskRdy(pnode, flags_rdy) == TRUE) { /* Make task RTR, event(s) Rx'd */ uCOS-II\OS_FLAG.C(533): error: #20: identifier "TRUE" is undefined if (OS_FlagTaskRdy(pnode, flags_rdy) == TRUE) { /* Make task RTR, event(s) Rx'd */ uCOS-II\OS_FLAG.C(543): error: #20: identifier "TRUE" is undefined if (sched == TRUE) { uCOS-II\OS_FLAG.C(712): error: #20: identifier "TRUE" is undefined sched = TRUE; uCOS-II\OS_FLAG.C(714): error: #20: identifier "FALSE" is undefined sched = FALSE; uCOS-II\OS_FLAG.C: 0 warnings, 25 errors compiling OS_MBOX.C... uCOS-II\OS_MBOX.C(165): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_MBOX.C(167): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_MBOX.C(171): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_MBOX.C(192): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_MBOX.C: 0 warnings, 4 errors compiling OS_MEM.C... compiling OS_MUTEX.C... uCOS-II\OS_MUTEX.C(178): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_MUTEX.C(180): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_MUTEX.C(184): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_MUTEX.C(209): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_MUTEX.C(293): error: #20: identifier "TRUE" is undefined rdy = TRUE; uCOS-II\OS_MUTEX.C(295): error: #20: identifier "FALSE" is undefined rdy = FALSE; /* No */ uCOS-II\OS_MUTEX.C(302): error: #20: identifier "TRUE" is undefined if (rdy == TRUE) { /* If task was ready at owner's priority ...*/ uCOS-II\OS_MUTEX.C: 0 warnings, 7 errors compiling OS_Q.C... uCOS-II\OS_Q.C(202): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_Q.C(204): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_Q.C(208): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_Q.C(235): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_Q.C: 0 warnings, 4 errors compiling OS_SEM.C... uCOS-II\OS_SEM.C(172): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_SEM.C(174): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_SEM.C(178): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_SEM.C(199): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_SEM.C: 0 warnings, 4 errors compiling OS_TASK.C... uCOS-II\OS_TASK.C(183): error: #20: identifier "TRUE" is undefined if (OSRunning == TRUE) { /* Find highest priority task if multitasking has started */ uCOS-II\OS_TASK.C(306): error: #20: identifier "TRUE" is undefined if (OSRunning == TRUE) { /* Find HPT if multitasking has started */ uCOS-II\OS_TASK.C(690): error: #20: identifier "TRUE" is undefined self = TRUE; uCOS-II\OS_TASK.C(692): error: #20: identifier "TRUE" is undefined self = TRUE; uCOS-II\OS_TASK.C(694): error: #20: identifier "FALSE" is undefined self = FALSE; /* No suspending another task */ uCOS-II\OS_TASK.C(706): error: #20: identifier "TRUE" is undefined if (self == TRUE) { /* Context switch only if SELF */ uCOS-II\OS_TASK.C: 0 warnings, 6 errors compiling OS_TIME.C... compiling Os_cpu_c.c... ".\Out\DebugInRAM\Ucos-II_for_LPC1752.axf" - 59 Error(s), 0 Warning(s). Target not created f (tasks_waiting == FALSE) { uCOS-II\OS_MBOX.C(192): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_MBOX.C: 0 warnings, 4 errors compiling OS_MEM.C... compiling OS_MUTEX.C... uCOS-II\OS_MUTEX.C(178): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_MUTEX.C(180): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_MUTEX.C(184): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_MUTEX.C(209): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_MUTEX.C(293): error: #20: identifier "TRUE" is undefined rdy = TRUE; uCOS-II\OS_MUTEX.C(295): error: #20: identifier "FALSE" is undefined rdy = FALSE; /* No */ uCOS-II\OS_MUTEX.C(302): error: #20: identifier "TRUE" is undefined if (rdy == TRUE) { /* If task was ready at owner's priority ...*/ uCOS-II\OS_MUTEX.C: 0 warnings, 7 errors compiling OS_Q.C... uCOS-II\OS_Q.C(202): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_Q.C(204): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_Q.C(208): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_Q.C(235): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_Q.C: 0 warnings, 4 errors compiling OS_SEM.C... uCOS-II\OS_SEM.C(172): error: #20: identifier "TRUE" is undefined tasks_waiting = TRUE; /* Yes */ uCOS-II\OS_SEM.C(174): error: #20: identifier "FALSE" is undefined tasks_waiting = FALSE; /* No */ uCOS-II\OS_SEM.C(178): error: #20: identifier "FALSE" is undefined if (tasks_waiting == FALSE) { uCOS-II\OS_SEM.C(199): error: #20: identifier "TRUE" is undefined if (tasks_waiting == TRUE) { /* Reschedule only if task(s) were waiting */ uCOS-II\OS_SEM.C: 0 warnings, 4 errors compiling OS_TASK.C... uCOS-II\OS_TASK.C(183): error: #20: identifier "TRUE" is undefined if (OSRunning == TRUE) { /* Find highest priority task if multitasking has started */ uCOS-II\OS_TASK.C(306): error: #20: identifier "TRUE" is undefined if (OSRunning == TRUE) { /* Find HPT if multitasking has started */ uCOS-II\OS_TASK.C(690): error: #20: identifier "TRUE" is undefined self = TRUE; uCOS-II\OS_TASK.C(692): error: #20: identifier "TRUE" is undefined self = TRUE; uCOS-II\OS_TASK.C(694): error: #20: identifier "FALSE" is undefined self = FALSE; /* No suspending another task */ uCOS-II\OS_TASK.C(706): error: #20: identifier "TRUE" is undefined if (self == TRUE) { /* Context switch only if SELF */ uCOS-II\OS_TASK.C: 0 warnings, 6 errors compiling OS_TIME.C... compiling Os_cpu_c.c... ".\Out\DebugInRAM\Ucos-II_for_LPC1752.axf" - 76 Error(s), 1 Warning(s). Target not created