You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2019/06/26 10:57:56 UTC

[mynewt-core] 04/05: Fix STM32F429-Discovery xtal frequency

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 3952d3c13eae371222f6979133c177aa73e551c4
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Tue Jun 25 09:06:56 2019 -0300

    Fix STM32F429-Discovery xtal frequency
---
 hw/bsp/stm32f429discovery/include/bsp/stm32f4xx_hal_conf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/bsp/stm32f429discovery/include/bsp/stm32f4xx_hal_conf.h b/hw/bsp/stm32f429discovery/include/bsp/stm32f4xx_hal_conf.h
index 87c9683..309c70f 100644
--- a/hw/bsp/stm32f429discovery/include/bsp/stm32f4xx_hal_conf.h
+++ b/hw/bsp/stm32f429discovery/include/bsp/stm32f4xx_hal_conf.h
@@ -111,7 +111,7 @@
   *        (when HSE is used as system clock source, directly or through the PLL).
   */
 #if !defined  (HSE_VALUE)
-  #define HSE_VALUE    ((uint32_t)1 << 27) /*!< Value of the External oscillator in Hz */
+  #define HSE_VALUE    ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
 #endif /* HSE_VALUE */
 
 #if !defined  (HSE_STARTUP_TIMEOUT)