
大家好, 这是我第一次使用STM8来编程就碰到问题了, 还望各位高手指教指教。 编程工具:STVD(在ST官网下载的)+ COSMIC没有限制版本(在COSMIC官网下载的, 已装了license) 遇到问题: 1. 做好设定,按确认建立项目後,出现 "Could not open the Debug\xxxx file" 2. 打好程序,按Build後,出现 "#error clnk Debug\stm8l101f3p trail cosmic.lkf:1 can't open file Debug\stm8l101f3p trail cosmic.lkf" 我曾经试过 1. 修改Project Setting > C Compiler > General > memory models 为 Long Stack (+modsl) 2. 新增CXSTM8\Lib到Tools > Options > directory > STM8 Cosmic Library files 不过还是不行 |
我按6楼的提醒再看了一遍"Project specific toolset path"的路径, 的确是选好了Cosmic的位置应该是没有错的, 但结果还是一样
会不是这个文件是只读属性?