diff --git a/soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f302x8 b/soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f302x8 new file mode 100644 index 00000000000..4a59ace1c01 --- /dev/null +++ b/soc/arm/st_stm32/stm32f3/Kconfig.defconfig.stm32f302x8 @@ -0,0 +1,29 @@ +# Kconfig - ST Microelectronics STM32F302X8 MCU +# +# Copyright (c) 2018 Seitz & Associates +# +# SPDX-License-Identifier: Apache-2.0 +# + +if SOC_STM32F302X8 + +config SOC + string + default "stm32f302x8" + +config FLASH_PAGE_SIZE + hex + default 0x800 + +config NUM_IRQS + int + default 82 + +if GPIO_STM32 + +config GPIO_STM32_PORTF + default y + +endif # GPIO_STM32 + +endif # SOC_STM32F302X8 diff --git a/soc/arm/st_stm32/stm32f3/Kconfig.soc b/soc/arm/st_stm32/stm32f3/Kconfig.soc index b5290a4f85d..de45455f9bb 100644 --- a/soc/arm/st_stm32/stm32f3/Kconfig.soc +++ b/soc/arm/st_stm32/stm32f3/Kconfig.soc @@ -9,6 +9,9 @@ choice prompt "STM32F3x MCU Selection" depends on SOC_SERIES_STM32F3X +config SOC_STM32F302X8 + bool "STM32F302X8" + config SOC_STM32F303XC bool "STM32F303XC" select CPU_HAS_ARM_MPU