SIngYu 发表于 2014-7-29 22:49:17

STVD库函数建立失败 请各位版友帮忙

最近从51换学习STM8,想用库函数环境开发,这周已经照https://wenku.baidu.com/view/87aade66b84ae45c3b358cc3.html 做了不下数次。
每次做到第5页"将stm8s_it.c中的INTERRUPT_HANDLER(NonHandledInterrupt, 25)函数注释掉,因为重复定义了。然后编译通过。",编译都会报错。错误如下:
#error cpstm8 stm8s_it.c:105(43) missing ;
#error cpstm8 stm8s_it.c:479(0) incomplete declaration
stm8s_it.c:
 The command: "cxstm8 -istm8s_stdperiph_driver\inc +debug -pxp -no -l +mods0 -pp -i"C:\Program Files\COSMIC\CXSTM8_32K\Hstm8" -i"C:\Program Files\COSMIC\CXSTM8_32K\Hstm8\STM8\st"  -clDebug\ -coDebug\ stm8s_it.c " has failed, the returned value is: 1
exit code=1.
小弟是新手,恳请版内大大,教一下小弟,如何才能不报错,谢谢各位大大。
网路上也有看到http://blog.sina.com.cn/s/blog_817a5eb601014g4o.html ,但是看不懂文章内容。
 
 

发表于 2014-7-30 15:03:46

RE:STVD库函数建立失败 请各位版友帮忙

建议把工程传上来,。这样看到源码好分析。

霹雳之火 发表于 2014-7-30 16:16:44

RE:STVD库函数建立失败 请各位版友帮忙

最好源码上传,你上传的图片还是无法看啊
页: [1]
查看完整版本: STVD库函数建立失败 请各位版友帮忙