L6218E: Undefined symbol STM_EVAL_COMInit (referred from main.o).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-01 2:00 PM
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).
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-01 2:09 PM
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.cOr 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
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-01 11:57 PM
Posted on October 02, 2014 at 08:57
Adding stm324xg_eval.c file to project MANUALLY solved my problem.
Thanks Mr. Clive.