Loading...
 
Skip to main content

System Workbench for STM32


Error Undefined reference .c hal driver file seems missing - How to add it

After looking some more to the .project of working and non working projects, I finally manually created a "Linked file" in the Project>Drivers>STM32F4xx_HaL_Driver folder pointing to stm32f4xx_hal_pcd_ex.c

It works.

It is not clear to me yet how are defined/implemented the project drivers folder in the different Cube projects. I had made the assumptions that all hal files would appear in all folders. But this seems wrong...

JMF