共计修改两个参数:
1、HSE_VALUE 具体位置在stm32f4xx.h中
2、PLL_M 具体位置在system_stm32f4xx.c中
修改方法: 例子: 外部晶振是25M的
#define PLL_M 25
#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */
修改完毕!
原文:http://www.cnblogs.com/suozhang/p/4935509.html