From 0f1700a08bf6d1db211067ce367a19c024882a09 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Thu, 5 Mar 2020 20:58:29 +0200 Subject: [PATCH] soc: arm: st_stm32: Add STM32F407XE Add support for the STM32F407XE SoC. Signed-off-by: Jukka Rissanen --- .../st_stm32/stm32f4/Kconfig.defconfig.stm32f407xx | 14 ++++++++++++++ soc/arm/st_stm32/stm32f4/Kconfig.soc | 3 +++ 2 files changed, 17 insertions(+) diff --git a/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f407xx b/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f407xx index e4da2a5b4ec..b122fe25854 100644 --- a/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f407xx +++ b/soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f407xx @@ -3,6 +3,20 @@ # Copyright (c) 2016 Linaro Limited. # SPDX-License-Identifier: Apache-2.0 +if SOC_STM32F407XE + +config SOC + default "stm32f407xx" + +config NUM_IRQS + default 82 + +config ENTROPY_STM32_RNG + default y + depends on ENTROPY_GENERATOR + +endif # SOC_STM32F407XE + if SOC_STM32F407XG config SOC diff --git a/soc/arm/st_stm32/stm32f4/Kconfig.soc b/soc/arm/st_stm32/stm32f4/Kconfig.soc index 19eec0e666c..f1c3ea8d496 100644 --- a/soc/arm/st_stm32/stm32f4/Kconfig.soc +++ b/soc/arm/st_stm32/stm32f4/Kconfig.soc @@ -16,6 +16,9 @@ config SOC_STM32F401XE config SOC_STM32F405XG bool "STM32F405XG" +config SOC_STM32F407XE + bool "STM32F407XE" + config SOC_STM32F407XG bool "STM32F407XG"