diff --git a/os/hal/platforms/STM32F1xx/hal_lld.c b/os/hal/platforms/STM32F1xx/hal_lld.c index d29e31e1d..14ad1e400 100644 --- a/os/hal/platforms/STM32F1xx/hal_lld.c +++ b/os/hal/platforms/STM32F1xx/hal_lld.c @@ -162,6 +162,10 @@ void stm32_clock_init(void) { ; /* Waits until HSI is selected. */ #if STM32_HSE_ENABLED +#if defined(STM32_HSE_BYPASS) + /* HSE Bypass.*/ + RCC->CR |= RCC_CR_HSEBYP; +#endif /* HSE activation.*/ RCC->CR |= RCC_CR_HSEON; while (!(RCC->CR & RCC_CR_HSERDY)) diff --git a/readme.txt b/readme.txt index d8272850f..809ba0839 100644 --- a/readme.txt +++ b/readme.txt @@ -87,6 +87,7 @@ *** 2.5.2 *** - FIX: Fixed surprising non-CRLF lines in source (bug 3607380). +- FIX: Fixed missing HSE bypass option for STM32F103 (bug 3606274). - FIX: Fixed misplaced brace in icu_lld.c (bug 3605832)(backported to 2.4.4). - FIX: Fixed errors in MMC_SPI driver state machine (bug 3605794). - FIX: Fixed deadlock in Serial_USB driver (bug 3605793).