aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-09 11:12:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-09 11:12:10 +0000
commit125a85a1528192fc43f532b570268640eaa550bf (patch)
treee3315c11705cbd0ce173f63586b49f3ab8558a89
parent9992b23f94532a5d04da91ee8c0844cfcb8dd2e7 (diff)
downloadChibiOS-125a85a1528192fc43f532b570268640eaa550bf.tar.gz
ChibiOS-125a85a1528192fc43f532b570268640eaa550bf.tar.bz2
ChibiOS-125a85a1528192fc43f532b570268640eaa550bf.zip
Fixed bug 3606274.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5388 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld.c4
-rw-r--r--readme.txt1
2 files changed, 5 insertions, 0 deletions
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).