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>
35 lines
459 B
Text
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
|