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:
parent
d76a627bfb
commit
983ff8b040
4 changed files with 41 additions and 32 deletions
|
@ -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
|
|
34
soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f412xx
Normal file
34
soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f412xx
Normal 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
|
|
@ -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
|
|
|
@ -28,11 +28,14 @@ config SOC_STM32F410RX
|
||||||
config SOC_STM32F411XE
|
config SOC_STM32F411XE
|
||||||
bool "STM32F411XE"
|
bool "STM32F411XE"
|
||||||
|
|
||||||
config SOC_STM32F412CG
|
config SOC_STM32F412CX
|
||||||
bool "STM32F412CG"
|
bool "STM32F412CX"
|
||||||
|
|
||||||
config SOC_STM32F412ZG
|
config SOC_STM32F412VX
|
||||||
bool "STM32F412ZG"
|
bool "STM32F412VX"
|
||||||
|
|
||||||
|
config SOC_STM32F412ZX
|
||||||
|
bool "STM32F412ZX"
|
||||||
|
|
||||||
config SOC_STM32F413XX
|
config SOC_STM32F413XX
|
||||||
bool "STM32F413XX"
|
bool "STM32F413XX"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue