keil5在includes.h文件中,加入#include "stm32f10x.h" ,出现报错:Pleace select first the target STM32F10x device used in your application (in stm32f10x.h file) 。运行后出现 Target not create 1,stm32f10x.h file已经正确引入到User下 2,通过查看device选择和C/C++ 下的define path 并没有问题出现

Parents
  • 对于keil5在includes.h文件中,加入#include "stm32f10x.h" ,出现报错:Pleace selectfirst the target STM32F10x device using in your application (in stm32f10x.h file) 

    解决方法:打开Options for Target   ,找到C/C++下的define 查看是否添加错误

Reply
  • 对于keil5在includes.h文件中,加入#include "stm32f10x.h" ,出现报错:Pleace selectfirst the target STM32F10x device using in your application (in stm32f10x.h file) 

    解决方法:打开Options for Target   ,找到C/C++下的define 查看是否添加错误

Children
No data