1.2k views
in Getting started by
Hi,

I am using Keil u vision 5.24 and when I rebuild the STM32F4Disco board exapmle(Hello World), Keil is giving an 2 errors.

UID_BASE is undefined and AHBPrescTable is undefined

How can solve this error please help me.

1 Answer

0 votes
by
Hi,

please let us know the version of the STCube firmware you are using - is it V1.16.0?

Best regards,

Manfred
by
Yes, it is

I solved this undefined  error message but I take new error message which

STM32429I-DISCOVERY\STM32429I-DISCOVERY.axf: Error: L6218E: Undefined symbol HAL_RTC_WaitForSynchro (referred from stm32f4xx_hal_rtc_ex.o).

STM32429I-DISCOVERY\STM32429I-DISCOVERY.axf: Error: L6218E: Undefined symbol RTC_Bcd2ToByte (referred from stm32f4xx_hal_rtc_ex.o).

STM32429I-DISCOVERY\STM32429I-DISCOVERY.axf: Error: L6218E: Undefined symbol RTC_EnterInitMode (referred from stm32f4xx_hal_rtc_ex.o).

STM32429I-DISCOVERY\STM32429I-DISCOVERY.axf: Error: L6218E: Undefined symbol HAL_RTC_GetDate (referred from ew_bsp_clock.o).

STM32429I-DISCOVERY\STM32429I-DISCOVERY.axf: Error: L6218E: Undefined symbol HAL_RTC_GetTime (referred from ew_bsp_clock.o).

STM32429I-DISCOVERY\STM32429I-DISCOVERY.axf: Error: L6218E: Undefined symbol HAL_RTC_Init (referred from ew_bsp_clock.o).
by
Hi,

I just re-build the hello world demo again using STCube firmware V1.16.0.
I could not detect any problem.

Could you meanwhile solve the linker problem you reported?

Best Regards,
Martin

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...