STM32 中常见错误 的处理方法

1.Fatal Error[Pe035]: #error directive: "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
 处理方法 :

在options-C/C++ compiler-preprocessor 里的 Defined symbols 下输入:
    USE_STDPERIPH_DRIVER
    STM32F10X_MD

原文地址:https://www.cnblogs.com/crazyxu/p/2212143.html