按照微芯力科技术资料《stm8建立工程讲解》建立工程出现了一大堆问题?而用三合一开发板配套的那5个简单的例程建立工程没点问题。那些带ST的函数库的都有错误,望大侠们指点下 错误如下: ----------- Project uart - STM8 Cosmic - Configuration Debug ------------- Removing intermediate files ... Done!
----------- Project uart - STM8 Cosmic - Configuration Debug -------------
Compiling main.c... cxstm8 -i.. +debug -pxp -no -l +mods0 -pp -i"F:\STM8S\COSMIC for STM8\Hstm8" -clDebug\ -coDebug\ main.c #error cpstm8 main.c:23 can't open stm8s_lib.h #error cpstm8 main.c:53(20) missing prototype #error cpstm8 main.c:56(26) missing prototype #error cpstm8 main.c:58(16) missing prototype #error cpstm8 main.c:69(14) missing prototype #error cpstm8 main.c:69(19) missing ) #error cpstm8 main.c:69(136) missing ; #error cpstm8 main.c:76(18) missing prototype #error cpstm8 main.c:76(37+6) ENABLE undefined #error cpstm8 main.c:76(19+16) UART2_IT_RXNE_OR undefined #error cpstm8 main.c:69(16+3) u32 undefined #error cpstm8 main.c:56(27+21) CLK_PRESCALER_HSIDIV1 undefined main.c: The command: "cxstm8 -i.. +debug -pxp -no -l +mods0 -pp -i"F:\STM8S\COSMIC for STM8\Hstm8" -clDebug\ -coDebug\ main.c " has failed, the returned value is: 1 exit code=1.
uart.elf - 14 error(s), 0 warning(s) |