[STM8] 报这个错怎么解决啊 stvd

[复制链接]
2281|4
 楼主| 贪玩不回家 发表于 2016-1-19 10:20 | 显示全部楼层 |阅读模式
#error cpstm8 libraries\inc\stm8s.h:42 can't redefine macro STM8S903
The command: "cxstm8 +warn +modsl +debug -pxp -no -pp -l -dSTM8S903 -ilibraries\inc -i..\libraries\inc -i"D:\Program Files (x86)\COSMIC\CXSTM8\Hstm8"  -clDebug\ -coDebug\ libraries\src\stm8s_adc1.c" has failed, the returned value is: 1
exit code=1.

 楼主| 贪玩不回家 发表于 2016-1-19 10:20 | 显示全部楼层
bldc.elf - 3 error(s), 0 warning(s)
msblast 发表于 2016-1-19 10:42 | 显示全部楼层
#error cpstm8 libraries\inc\stm8s.h:42 can't redefine macro STM8S903

STM8S903重定义了,stm8s.h:42行
 楼主| 贪玩不回家 发表于 2016-1-19 11:07 | 显示全部楼层
msblast 发表于 2016-1-19 10:42
#error cpstm8 libraries\inc\stm8s.h:42 can't redefine macro STM8S903

STM8S903重定义了,stm8s.h:42行 ...

怎么解决啊  我注释掉也不行啊  
 楼主| 贪玩不回家 发表于 2016-1-19 11:49 | 显示全部楼层
哪位大神帮帮忙啊 :)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

48

主题

317

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部