Loading...
 
Skip to main content

System Workbench for STM32


Custom Library Compilation Error

Hi Dieter,

It is declared under private variables that is generated by CubeMX as I2C_HandleTypeDef in main.c and then the I2C_HandleTypeDef declaration is in the stm32f4xx_hal_i2c.h.

I have tried to include stm32f4xx_hal_i2c.h and stm32f4xx_hal.h in I2C.c and I2c.h but to no avail.

Thanks for your help!

Kind regards,

Dylan