stm32程序在不一樣的stm32開發板上移植時注意事項

一、修改SystemClock_Config函數,不一樣的開發板使用的時鐘源多是不同的,因此要修改,同時要修改stm32h7xx_hal_conf.h文件中HSE的值函數 #if !defined  (HSE_VALUE)  #define HSE_VALUE    ((uint32_t)25000000) /*!< Value of the External oscillator in Hz *
相關文章
相關標籤/搜索