2016-10-03 21:51:32 +08:00
|
|
|
# Kconfig - ST Microelectronics STM32L4 MCU line
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
|
|
# Copyright (c) 2016 BayLibre, SAS
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-10-03 21:51:32 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
if SOC_SERIES_STM32L4X
|
|
|
|
|
|
|
|
source "arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l4*"
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default stm32l4
|
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
if I2C && (I2C_1 || I2C_2 || I2C_3)
|
2017-07-06 20:42:29 +08:00
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
config I2C_STM32_V2
|
2017-07-06 20:42:29 +08:00
|
|
|
def_bool y
|
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
endif # I2C
|
2017-07-06 20:42:29 +08:00
|
|
|
|
2017-12-20 22:49:56 +08:00
|
|
|
if ENTROPY_GENERATOR
|
|
|
|
|
|
|
|
config ENTROPY_STM32_RNG
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # ENTROPY_GENERATOR
|
|
|
|
|
2016-10-03 21:51:32 +08:00
|
|
|
endif # SOC_SERIES_STM32L4X
|