drivers: i2c: add STM32G0X I2C support

Add I2C driver support for STM32G0X SoC series.

Signed-off-by: Filip Brozovic <fbrozovic@gmail.com>
This commit is contained in:
Filip Brozovic 2019-11-07 16:04:13 +01:00 committed by Carles Cufí
commit fc2dfae64f
5 changed files with 56 additions and 3 deletions

View file

@ -40,6 +40,10 @@
#include <stm32g0xx_ll_gpio.h>
#endif
#ifdef CONFIG_I2C
#include <stm32g0xx_ll_i2c.h>
#endif
#ifdef CONFIG_WWDG_STM32
#include <stm32g0xx_ll_wwdg.h>
#endif