We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi guys, So I used an example of the HAL library to configure an input capture with a timer on a stm32f373vct6 microcontroller. Now I want to include this example in my project, but when I do so and try to build the compiler says : Error: L6218E: Undefined symbol HAL_TIM_IC_Init (referred from)
I properly included the stm32f3xx_hal.h library and the stm32f3xx_hal_conf.h but still it does not work. From previous thread(community.st.com/.../error-l6218e-undefined-symbol-haladcinit-referred-from-maino) I saw that you need to define some params. I went into the stm32f3xx_hal_conf.h library, and removed the ifdef condition for the stm32f3xx_hal_tim.h library but still it does not work.
Thank you for the help !
Hello Amine,
I suggest using the STM32Cubemx tool to generate your code.
You can launch it from with in the Keil uVision IDE:
www.keil.com/.../cubemx_proj.html
It should make sure that you aren't missing any helper functions or header files.
Here is a demo that is a little dated of using cubemx and keil
www.youtube.com/watch
Here is a more in depth video on using Cubemx
Hi Ron , Firstly thank you for you help. The point in my project was to not use the STM cube generator. I solved my problem! Thank you!