diff options
Diffstat (limited to 'stmhal/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h')
| -rw-r--r-- | stmhal/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stmhal/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h b/stmhal/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h index 672bcfbe5..c20421f0f 100644 --- a/stmhal/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h +++ b/stmhal/boards/NUCLEO_F401RE/stm32f4xx_hal_conf.h @@ -105,7 +105,7 @@ #endif /* HSE_VALUE */
#if !defined (HSE_STARTUP_TIMEOUT)
- #define HSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for HSE start up, in ms */
+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100U) /*!< Time out for HSE start up, in ms */
#endif /* HSE_STARTUP_TIMEOUT */
/**
@@ -132,6 +132,10 @@ #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
#endif /* LSE_VALUE */
+#if !defined (LSE_STARTUP_TIMEOUT)
+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
+#endif /* LSE_STARTUP_TIMEOUT */
+
/**
* @brief External clock source for I2S peripheral
* This value is used by the I2S HAL module to compute the I2S clock source
|
