我把UCOS移植到XS128上后,出现很多问题!OS_cfg.h文件中的宏定义已修改就不能编译了,而且出现很多错误,真是不明白,比如我把宏定义OS_TMR_EN为1就报很多错误Error : C4437: Error-directive found: OS_CFG.H, Semaphore management is required (set OS_SEM_EN to 1) when enabling Timer Management.
uCOS_II.H line 1595
Error : C4437: Error-directive found: Timer management require TWO semaphores.
uCOS_II.H line 1596
Error : Compile failed
Error : C4437: Error-directive found: OS_CFG.H, Semaphore management is required (set OS_SEM_EN to 1) when enabling Timer Management.
uCOS_II.H line 1595
Error : C4437: Error-directive found: Timer management require TWO semaphores.
uCOS_II.H line 1596
Error : Compile failed
Error : C4437: Error-directive found: OS_CFG.H, Semaphore management is required (set OS_SEM_EN to 1) when enabling Timer Management.
ucos_ii.h line 1595
Error : C4437: Error-directive found: Timer management require TWO semaphores.
ucos_ii.h line 1596
Error : Compile failed
Error : C4437: Error-directive found: OS_CFG.H, Semaphore management is required (set OS_SEM_EN to 1) when enabling Timer Management.
uCOS_II.H line 1595
Error : C4437: Error-directive found: Timer management require TWO semaphores.
uCOS_II.H line 1596
Error : Compile failed
各位大侠指导下啊! |