diff options
| author | Rami Ali | 2016-12-06 11:10:46 +1100 |
|---|---|---|
| committer | Damien George | 2016-12-07 17:31:21 +1100 |
| commit | db5a4e8f3cef930b9a3a59dea7778027c6f3c6d2 (patch) | |
| tree | a0c43494d24298c80b0def4296055afa1e07b0eb /stmhal | |
| parent | 6901649f544587ee0ec160eeaedb4650979d5492 (diff) | |
stmhal/boards/STM32F7DISC: Define LSE_STARTUP_TIMEOUT.
So it compiles with the latest F7 hal.
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h b/stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h index fb33add2b..3fbfb4310 100644 --- a/stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h +++ b/stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h @@ -140,6 +140,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 |
