Skip to main content
aybala5
Associate III
October 1, 2014
Question

L6218E: Undefined symbol STM_EVAL_COMInit (referred from main.o).

  • October 1, 2014
  • 2 replies
  • 1163 views
Posted on October 01, 2014 at 23:00

Hello Friends,

 

 

I have an stm32f4 discv. board. I tried the run one of the STM32F4xx_DSP_StdPeriph_Lib_V1.4.0 examples without any change. I used template, copied one of the examples project files ( ...\STM32F4xx_DSP_StdPeriph_Lib_V1.4.0\Project\STM32F4xx_StdPeriph_Examples\USART\USART_Printf) in template project.

 

I selected the board as STM32F40_41xxx and compiled. Below the error i got, i couldnt undestand why , can any one help me, thanks.

STM32F40_41xxx\STM32F40_41xxx.axf: Error: L6218E: Undefined symbol STM_EVAL_COMInit (referred from main.o).

Not enough information to list image symbols.

Finished: 1 information, 0 warning and 1 error messages.

''STM32F40_41xxx\STM32F40_41xxx.axf'' - 1 Error(s), 0 Warning(s).

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    October 1, 2014
    Posted on October 01, 2014 at 23:09

    Yes, so you'd need to furnish a board support file for the USART, like

    \STM32F4xx_DSP_StdPeriph_Lib_V1.4.0\Utilities\STM32_EVAL\STM3240_41_G_EVAL\stm324xg_eval.c

    Or more simply just initialize the USART directly rather than abstracted through a .C/.H file for the board.

    I've posted DOZENS of USART examples to the forum. Remember that PA9 is NOT usable on the STM32F4-DISCO board.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    aybala5
    aybala5Author
    Associate III
    October 2, 2014
    Posted on October 02, 2014 at 08:57

    Adding stm324xg_eval.c file to project MANUALLY  solved my problem.

    Thanks Mr. Clive.