From 125a85a1528192fc43f532b570268640eaa550bf Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 9 Mar 2013 11:12:10 +0000 Subject: Fixed bug 3606274. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5388 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F1xx/hal_lld.c | 4 ++++ readme.txt | 1 + 2 files changed, 5 insertions(+) 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). -- cgit v1.2.3