immedately change clock rate to load data sections faster

This commit is contained in:
Conor Patrick
2019-02-06 17:55:27 -05:00
parent 765d532f82
commit 2ed8667f18
2 changed files with 31 additions and 27 deletions

View File

@ -106,6 +106,7 @@
*/
#include "stm32l4xx.h"
#include "init.h"
#if !defined (HSE_VALUE)
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
@ -219,6 +220,8 @@ void SystemInit(void)
/* Disable all interrupts */
RCC->CIER = 0x00000000U;
SystemClock_Config_LF();
}
/**