diff --git a/soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f042x6 b/soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f042x6 new file mode 100644 index 00000000000..fe4a08966b5 --- /dev/null +++ b/soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f042x6 @@ -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 diff --git a/soc/arm/st_stm32/stm32f0/Kconfig.soc b/soc/arm/st_stm32/stm32f0/Kconfig.soc index 59d93afb899..728ea4a10c3 100644 --- a/soc/arm/st_stm32/stm32f0/Kconfig.soc +++ b/soc/arm/st_stm32/stm32f0/Kconfig.soc @@ -22,6 +22,9 @@ config SOC_STM32F030XC config SOC_STM32F031X6 bool "STM32F031X6" +config SOC_STM32F042X6 + bool "STM32F042X6" + config SOC_STM32F051X8 bool "STM32F051X8"