STM32中常見錯(cuò)誤的處理方法
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