zephyr/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f413xx
Erwan Gouriou 164fb32cf6 drivers: entropy: stm32: limit driver to SoC supporting it
In STM32 family, RNG IP is available only on F4 and L4 series.
Besides STM32F401 does not support is neither.
Get entropy driver available on STM32 devices supporting it and
generate a compilation issue on STM32 devices that do not own
the RNG IP.

Solves #5448

Signed-Off-By: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-01-11 19:00:19 -05:00

35 lines
459 B
Text

# Kconfig - ST STM32F413XH MCU configuration options
#
# Copyright (c) 2017 Florian Vaussard, HEIG-VD
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32F413XH
config SOC
string
default stm32f413xx
config NUM_IRQS
int
default 102
if GPIO_STM32
config GPIO_STM32_PORTF
default y
config GPIO_STM32_PORTG
default y
endif # GPIO_STM32
if ENTROPY_GENERATOR
config ENTROPY_STM32_RNG
def_bool y
endif # ENTROPY_GENERATOR
endif # SOC_STM32F413XH