AnsweredAssumed Answered

STM32Cube generated project, adding to HAL driver

Question asked by aiyer.kartik on Apr 29, 2014
Latest reply on Apr 30, 2014 by aiyer.kartik
I'm having trouble during the Link stage after adding a component to the HAL driver in my project. I'm using IAR. I generated a project using STM32CubeMX. I then manually added use of the RTC component, by including stm32f4xx_hal_rtc.c and stm32f4xx_hal_rtc.h to the STM32F4xx_HAL_Driver group in my IAR Project. I can see the files being compiled but during the Link stage its not able to find a definition for HAL_RTC_Init() ( a function defined in stm32f4xx_hal_rtc.c). Do I have to do anything extra to HAL driver when I add some source files to it ? 

Thanks
Kartik

Outcomes