zephyr/arch/arm/soc/st_stm32/stm32l0/Kconfig.defconfig.series
Tomasz Bursztyka d95fa65270 drivers/i2c: Cleanup Kconfig
Move driver specific to dedicated file when relevant (i.e.: more than
1-2 options), use if/endif also.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2018-03-23 10:42:33 +08:00

26 lines
412 B
Text

# Kconfig - ST Microelectronics STM32L0 MCU line
#
# Copyright (c) 2018 Endre Karlson <endre.karlson@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_STM32L0X
source "arch/arm/soc/st_stm32/stm32l0/Kconfig.defconfig.stm32l0*"
config SOC_SERIES
default stm32l0
if GPIO_STM32
endif # GPIO_STM32
if I2C_STM32
config I2C_STM32_V2
def_bool y
endif # I2C_STM32
endif # SOC_SERIES_STM32L0X