This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

3 errors when building 'blinky' example project

Hello, I am new to using uVision and am trying to learn to program my stm32f746. However, when trying to build example projects to familiarize myself with uVision development I am confronted with these #define errors. I have already fixed previous errors bringing the number of errors from 7 to 3. Any suggestions? Any help would be greatly appreciated!

C:/Keil_v5/Pack/Keil/STM32F7xx_DFP/2.16.0/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc_ex.c(227): error: use of undeclared identifier 'LSE_STARTUP_TIMEOUT'
227 | if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
| ^
C:/Keil_v5/Pack/Keil/STM32F7xx_DFP/2.16.0/Drivers/STM32F7xx_HAL_Driver/Inc\stm32f7xx_hal_rcc.h(1194): note: expanded from macro 'RCC_LSE_TIMEOUT_VALUE'
1194 | #define RCC_LSE_TIMEOUT_VALUE LSE_STARTUP_TIMEOUT
| ^
1 error generated.
compiling stm32f7xx_hal_rcc_ex.c...
C:/Keil_v5/Pack/Keil/STM32F7xx_DFP/2.16.0/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c(557): error: use of undeclared identifier 'LSE_STARTUP_TIMEOUT'
557 | if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
| ^
C:/Keil_v5/Pack/Keil/STM32F7xx_DFP/2.16.0/Drivers/STM32F7xx_HAL_Driver/Inc\stm32f7xx_hal_rcc.h(1194): note: expanded from macro 'RCC_LSE_TIMEOUT_VALUE'
1194 | #define RCC_LSE_TIMEOUT_VALUE LSE_STARTUP_TIMEOUT
| ^
C:/Keil_v5/Pack/Keil/STM32F7xx_DFP/2.16.0/Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_rcc.c(571): error: use of undeclared identifier 'LSE_STARTUP_TIMEOUT'
571 | if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
| ^
C:/Keil_v5/Pack/Keil/STM32F7xx_DFP/2.16.0/Drivers/STM32F7xx_HAL_Driver/Inc\stm32f7xx_hal_rcc.h(1194): note: expanded from macro 'RCC_LSE_TIMEOUT_VALUE'
1194 | #define RCC_LSE_TIMEOUT_VALUE LSE_STARTUP_TIMEOUT
| ^
2 errors generated.
compiling stm32f7xx_hal_rcc.c...
compiling stm32f7xx_hal_gpio.c...
compiling stm32f7xx_hal.c...
compiling stm32f7xx_hal_pwr_ex.c...
assembling startup_stm32f746xx.s...
compiling system_stm32f7xx.c...
".\Flash\Blinky.axf" - 3 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
Load "C:\\MDK\\Boards\\ST\\STM32F746G_Discovery\\Blinky_BM\\Flash\\Blinky.axf"
_____^
*** error 56: cannot open file
Error: Flash Download failed - Could not load file 'C:\MDK\Boards\ST\STM32F746G_Discovery\Blinky_BM\Flash\Blinky.axf'
Flash Load finished at 20:05:00