soc: arm: stm32f4: group stm32f412xx in a Kconfig for the serie

A new stm32f412vx devices is introduced.
The soc devices stm32f412cx, stm32f412vx, stm32f412zx are
removed to have a more generic stm32f412xx Kconfig.
The stm32cube modules stm32f412cx/vx/zx exists.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-09-30 11:17:26 +02:00 committed by Christopher Friedt
commit 983ff8b040
4 changed files with 41 additions and 32 deletions

View file

@ -1,14 +0,0 @@
# ST STM32F412CG MCU configuration options
# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F412CG
config SOC
default "stm32f412cx"
config NUM_IRQS
default 97
endif # SOC_STM32F412CG

View file

@ -0,0 +1,34 @@
# ST STM32F412XX MCU configuration options
# Copyright (c) 2021 STMicroelectronics.
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F412CX
config SOC
default "stm32f412cx"
config NUM_IRQS
default 97
endif # SOC_STM32F412CX
if SOC_STM32F412VX
config SOC
default "stm32f412vx"
config NUM_IRQS
default 97
endif # SOC_STM32F412VX
if SOC_STM32F412ZX
config SOC
default "stm32f412zx"
config NUM_IRQS
default 97
endif # SOC_STM32F412ZX

View file

@ -1,14 +0,0 @@
# ST STM32F412ZG MCU configuration options
# Copyright (c) 2017 Florian Vaussard, HEIG-VD
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F412ZG
config SOC
default "stm32f412zx"
config NUM_IRQS
default 97
endif # SOC_STM32F412ZG

View file

@ -28,11 +28,14 @@ config SOC_STM32F410RX
config SOC_STM32F411XE
bool "STM32F411XE"
config SOC_STM32F412CG
bool "STM32F412CG"
config SOC_STM32F412CX
bool "STM32F412CX"
config SOC_STM32F412ZG
bool "STM32F412ZG"
config SOC_STM32F412VX
bool "STM32F412VX"
config SOC_STM32F412ZX
bool "STM32F412ZX"
config SOC_STM32F413XX
bool "STM32F413XX"