Skip to content

Commit db5a4e8

Browse files
flowergrassdpgeorge
authored andcommitted
stmhal/boards/STM32F7DISC: Define LSE_STARTUP_TIMEOUT.
So it compiles with the latest F7 hal.
1 parent 6901649 commit db5a4e8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@
140140
#define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
141141
#endif /* LSE_VALUE */
142142

143+
#if !defined (LSE_STARTUP_TIMEOUT)
144+
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
145+
#endif /* LSE_STARTUP_TIMEOUT */
146+
143147
/**
144148
* @brief External clock source for I2S peripheral
145149
* This value is used by the I2S HAL module to compute the I2S clock source

0 commit comments

Comments
 (0)