aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-09 10:56:50 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-09 10:56:50 +0000
commitdab1c1ef00f843fb25d7248f11ddde0e00884c29 (patch)
tree89bdd9b0254b2c6bfa857d58134b5b132c360e8b
parenta77f1ee7222961d1933ce585dc7f42d443c903d8 (diff)
downloadChibiOS-dab1c1ef00f843fb25d7248f11ddde0e00884c29.tar.gz
ChibiOS-dab1c1ef00f843fb25d7248f11ddde0e00884c29.tar.bz2
ChibiOS-dab1c1ef00f843fb25d7248f11ddde0e00884c29.zip
Fixed bug #667.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8458 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.c3
-rw-r--r--readme.txt2
2 files changed, 4 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.c b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
index ff9ff93fd..f17a494cf 100644
--- a/os/hal/ports/STM32/STM32F4xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.c
@@ -245,7 +245,8 @@ void stm32_clock_init(void) {
/* Other clock-related settings (dividers, MCO etc).*/
RCC->CFGR = STM32_MCO2PRE | STM32_MCO2SEL | STM32_MCO1PRE | STM32_MCO1SEL |
- STM32_RTCPRE | STM32_PPRE2 | STM32_PPRE1 | STM32_HPRE;
+ STM32_I2SSRC | STM32_RTCPRE | STM32_PPRE2 | STM32_PPRE1 |
+ STM32_HPRE;
/* Flash setup.*/
#if defined(STM32_USE_REVISION_A_FIX)
diff --git a/readme.txt b/readme.txt
index 2606224d1..0f07e2fc0 100644
--- a/readme.txt
+++ b/readme.txt
@@ -131,6 +131,8 @@
- HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support
for STM32F030xC, STM32F070x6, STM32F070xB, STM32F091xC,
STM32F098xx devices.
+- HAL: Fixed I2S clock selection not working in STM32F4xx HAL (bug #667)
+ (backported to 3.0.4 and 2.6.10).
- HAL: Fixed differences in STM32F3 ADC macro definitions (bug #665)
(backported to 3.0.3).
- HAL: Fixed RTC module loses day of week when converting (bug #664)