..\USER\stm32f4xx.h(102): error: #35: #error directive: “Please select first the target STM32F4xx d

在用STM32F407来编程时候

遇到了这个问题:..\USER\stm32f4xx.h(102): error:  #35: #error directive: "Please select first the target STM32F4xx d。

也就是系统找不到这个文件  就报了很多的错误。

参考学习:(34条消息) STM32F407遇到 #error "Please select first the target STM32F4xx device used in your application 解决方法_TMS320VC5257H的博客-CSDN博客进行类比学习

得到解决  

猜你喜欢

转载自blog.csdn.net/qq_60043905/article/details/125758063