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 并没有问题出现

  • 对于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 查看是否添加错误

  • Please enter any post by using the English language.

    Thanks

  • Hi  I have included a Google translated version here of your original post: 

    keil5 added #include "stm32f10x.h" in the includes.h file, and an error occurred: Please select first the target STM32F10x device used in your application (in stm32f10x.h file). Target not create appears after running. 1. The stm32f10x.h file has been correctly introduced to User. 2. There is no problem by checking the device selection and define path under C/C++.

    Hope this is okay. Thanks for asking a question.