zephyr/arch/arm/soc/st_stm32/stm32f3/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

29 lines
425 B
Text

# Kconfig - ST Microelectronics STM32F3 MCU line
#
# Copyright (c) 2016 RnDity Sp. z o.o.
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_STM32F3X
source "arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f3*"
config SOC_SERIES
default stm32f3
if GPIO_STM32
config GPIO_STM32_PORTD
default y
endif # GPIO_STM32
if I2C_STM32
config I2C_STM32_V2
def_bool y
endif # I2C_STM32
endif # SOC_SERIES_STM32F3X