2018-02-03 00:09:27 +08:00
|
|
|
# Kconfig - ST Microelectronics STM32L0 MCU line
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Endre Karlson <endre.karlson@gmail.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2019-02-18 20:47:15 +08:00
|
|
|
# Kconfig symbols common to STM32L0 series
|
|
|
|
|
2018-02-03 00:09:27 +08:00
|
|
|
if SOC_SERIES_STM32L0X
|
|
|
|
|
2018-09-04 04:47:02 +08:00
|
|
|
source "soc/arm/st_stm32/stm32l0/Kconfig.defconfig.stm32l0*"
|
2018-02-03 00:09:27 +08:00
|
|
|
|
|
|
|
config SOC_SERIES
|
2018-05-26 03:09:37 +08:00
|
|
|
default "stm32l0"
|
2018-02-03 00:09:27 +08:00
|
|
|
|
|
|
|
if GPIO_STM32
|
|
|
|
|
2019-02-18 20:47:15 +08:00
|
|
|
# GPIO ports A, B and C are set in ../common/Kconfig.defconfig.series
|
|
|
|
|
2018-02-03 00:09:27 +08:00
|
|
|
endif # GPIO_STM32
|
|
|
|
|
2018-02-28 18:27:46 +08:00
|
|
|
if I2C_STM32
|
2018-03-14 00:23:08 +08:00
|
|
|
|
|
|
|
config I2C_STM32_V2
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-03-14 00:23:08 +08:00
|
|
|
|
2018-02-28 18:27:46 +08:00
|
|
|
endif # I2C_STM32
|
2018-02-03 00:09:27 +08:00
|
|
|
|
|
|
|
endif # SOC_SERIES_STM32L0X
|