[NUCLEO_F401RE] Add automatic clock configuration between HSE/HSI

Once again I have other peoples changes in my request despite the fact that I have well done a merge before...