历史上的今天
今天是:2025年02月25日(星期二)
正在发生
2020年02月25日 | 使用STVD+COSMIX编译STM8S工程问题汇总
2020-02-25 来源:eefocus
1)#error cpstm8 main.c:231(10) missing prototype
解决方案:所有函数声明和定义都要带形参。
例: void SysInit(void);void SysInit(void){}
2) warning: Toolset rootpaths have not been specified for at least one of supported toolsets.confirm that the root path for the toolset that you are using have been specified
STVD中COSMIX编译器默认路径设置。
在Tool>option 下将Toolset Root Path路径设置成编译器的安装路径。
如:C:Program Files (x86)COSMICCXSTM8
上一篇:STM8L时钟管理总结
推荐阅读
史海拾趣




