Jump to content

Compile Error when compiling (ugfx_demo_001/ugfx_virtual_keyboard)


uGFXuser

Recommended Posts

Hi I am totally new to uGFX so in order to learn i downloaded  ugfx_demo_001, ugfx_demo_002/and ugfx_demo_003. Example Projects .

for Keil MDK5  

 

However when i try to compile the demo examples i get the same error as below for all three examples  .

C:\Keil_v5\ARM\PACK\Keil\STM32F7xx_DFP\2.9.0\Drivers\STM32F7xx_HAL_Driver\Src\stm32f7xx_hal_rcc_ex.c(251): error:  #20: identifier "LSE_STARTUP_TIMEOUT" is undefined

I am not sure if i have done something wrong or there is another issue .

Has any one else encountered the same problem ?

Can any one please help me with this error .

Many Thanks in advance 

 

 

 

 

ugfx_demo_001.zip

Link to comment
Share on other sites

Hello and welcome to the µGFX community!

This sounds like a mismatch of the ST HAL versions. Unfortunately, ST used to change their HAL a few times breaking compatibility each time.
I can't look into this the next couple of days. But I'd recommend you to create an STM32F746G-Discovery project in Keil from scratch and then follow our guide on how to add µGFX to an existing Keil project. It's very straight forward. You can always use the demo you have there as a reference as of where to add files and so on.
Here's the guide: https://wiki.ugfx.io/index.php/Using_Keil_µVision_5_MDK-ARM 

Don't hesitate to ask if you have any further questions. We're happy to help wherever we can.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...