diff --git a/soc/st/stm32/stm32u0x/Kconfig.defconfig b/soc/st/stm32/stm32u0x/Kconfig.defconfig index ead7304473e..0b947794cb3 100644 --- a/soc/st/stm32/stm32u0x/Kconfig.defconfig +++ b/soc/st/stm32/stm32u0x/Kconfig.defconfig @@ -7,4 +7,13 @@ if SOC_SERIES_STM32U0X rsource "Kconfig.defconfig.stm32u0*" +if I2C_STM32 + +config SHARED_INTERRUPTS + default y if $(dt_nodelabel_enabled,i2c2) && $(dt_nodelabel_enabled,i2c3) + default y if $(dt_nodelabel_enabled,i2c2) && $(dt_nodelabel_enabled,i2c4) + default y if $(dt_nodelabel_enabled,i2c3) && $(dt_nodelabel_enabled,i2c4) + +endif # I2C_STM32 + endif # SOC_SERIES_STM32U0X