795 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

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...