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 *
相关文章
相关标签/搜索