2014-10-01 02:00 PM
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).
2014-10-01 02:09 PM
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.2014-10-01 11:57 PM
Adding stm324xg_eval.c file to project MANUALLY solved my problem.
Thanks Mr. Clive.