soc: arm: st_stm32: stm32f0: add kconfig for stm32f042x6
Add Kconfig for STMF042x6 to support the Nucleo F042K6. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
parent
be0f9684f7
commit
b19f47d2b1
2 changed files with 17 additions and 0 deletions
14
soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f042x6
Normal file
14
soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f042x6
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# ST Microelectronics STM32F042X6 MCU
|
||||||
|
|
||||||
|
# Copyright (c) 2023 STMicroelectronics
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
if SOC_STM32F042X6
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
default "stm32f042x6"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
default 32
|
||||||
|
|
||||||
|
endif # SOC_STM32F042X6
|
|
@ -22,6 +22,9 @@ config SOC_STM32F030XC
|
||||||
config SOC_STM32F031X6
|
config SOC_STM32F031X6
|
||||||
bool "STM32F031X6"
|
bool "STM32F031X6"
|
||||||
|
|
||||||
|
config SOC_STM32F042X6
|
||||||
|
bool "STM32F042X6"
|
||||||
|
|
||||||
config SOC_STM32F051X8
|
config SOC_STM32F051X8
|
||||||
bool "STM32F051X8"
|
bool "STM32F051X8"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue