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
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
在嵌入式開發(fā)中,STM32的時鐘系統(tǒng)因其靈活性和復(fù)雜性成為開發(fā)者關(guān)注的焦點。然而,看似簡單的時鐘配置背后,隱藏著諸多易被忽視的陷阱,輕則導(dǎo)致系統(tǒng)不穩(wěn)定,重則引發(fā)硬件損壞。本文從時鐘源選擇、PLL配置、總線時鐘分配等關(guān)鍵環(huán)...
關(guān)鍵字: STM32 時鐘系統(tǒng)