万利EK-STM32F在IAR4.42 下移植UCOSII老是出现下面问题;(在mian里面只用了OSInit()) Error[e46]: Undefined external "OS_CPU_SR_Save" referred in os_core ( G:\STM32 no ku\UCOS\project\EWARM\Debug\Obj\os_core.r79 ) Error[e46]: Undefined external "OS_CPU_SR_Restore" referred in os_core ( G:\STM32 no ku\UCOS\project\EWARM\Debug\Obj\os_core.r79 ) Error[e46]: Undefined external "OSDebugInit" referred in os_core ( G:\STM32 no ku\UCOS\project\EWARM\Debug\Obj\os_core.r79 ) Error[e46]: Undefined external "OSCtxSw" referred in os_core ( G:\STM32 no ku\UCOS\project\EWARM\Debug\Obj\os_core.r79 ) void main(void) { RCC_configuration(); GPIO_configuration(); USART_configuration(); OSInit(); while(1); } 麻烦各位大虾看下是什么原因; |
RE:万利EK-STM32F在IAR4.42 下移植UCOSII老是出现问题