\stm32_eval.h(169): error: #35: #error directive: "Plea...
..\User\STM32_EVAL\stm32_eval.h(169): error:#35: #error directive: "Please select first the STM32 EVAL board to be used (in stm32_eval.h)"用的是keilu4 和f103c8t6复制 lib v3.5新建工程时,参考http://blog.csdn.net/zeroice7/article/details/59483155
编译出错.\User\main.c(23): error:#5: cannot open source input file "stm32_eval.h": No such file or direct
然后把lib v3.5下的F:\STM32F10x_StdPeriph_Lib_V3.5.0\Utilities \STM32_EVAL文件夹复制到新建工程的 user 下
然后在 include paths 下也添加了..\User\STM32_EVAL 然后报错
第一个是没有定义板子类型导致
第二个应该是头文件引用路径没有加上,在工程设置 C/C++选项,include paths中添加。 没有加路径。。。。。百度一下keil使用教程吧!!!按照教程一步一步走一次,就啥都会啦!!! 谢谢,已解决
页:
[1]