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