This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The system_stm32f4xx.c file lost the SetSysClock() function!?

Greetings!
A while ago I made a package for Keil with a project for Discovery STM32F407 board and now, when I use this pack, is recommended the update of the system_stm32f4xx.c file, I did it.
I had no problem to compile and run, but some things seemed different, comparing the files I saw they had removed the SetSysClock function. I copied the function from the old file as well the PLL parameters and everything is working again.
My question is, without the SetSysClock function which would be the correct way to adjust the clock?

  • I've brought this question up because I had noticed the same issue. With the SetSysClock() function removed (not sure when since the release notes don't mention it) what is the best way to set up the clocks and PLL etc.?

    thanks