stm8 sttoolset不能編譯問題

1、STVD->Tools->Options->Toolset->Root path中添加 編譯器路徑問題

1)可能會報錯爲  -clDebug\ -coDebug\ main.c " has failed, the returned value is: 1 exit code=1.

2) can't open file libm0.sm8

3)生成hex文件修改方法

   project>settings>post-Build>添加

chex -o $(OutputPath)$(TargetSName).hex $(OutputPath)$(TargetSName).sm8


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章