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:
Guillaume Gautier 2023-02-17 16:58:42 +01:00 committed by Carles Cufí
commit b19f47d2b1
2 changed files with 17 additions and 0 deletions

View 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

View file

@ -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"