soc: arm: st_stm32: stm32f0: Add support for STM32F031 and STM32F031X6
This commit adds the soc config for the STM32F031k6 and STM32F031X6. Add the STM32F031k6 as choice to the Kconfig.soc. Signed-off-by: Sebastian Schwabe <sebastian-schwabe@gmx.de>
This commit is contained in:
parent
84b1659675
commit
98a6cbd80e
2 changed files with 17 additions and 0 deletions
14
soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f031x6
Normal file
14
soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f031x6
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# ST Microelectronics STM32F031X6 MCU
|
||||||
|
|
||||||
|
# Copyright (c) 2021 Sebastian Schwabe <sebastian.schwabe@mailbox.tu-dresden.de>
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
if SOC_STM32F031X6
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
default "stm32f031x6"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
default 28
|
||||||
|
|
||||||
|
endif # SOC_STM32F031X6
|
|
@ -16,6 +16,9 @@ config SOC_STM32F030X8
|
||||||
config SOC_STM32F030XC
|
config SOC_STM32F030XC
|
||||||
bool "STM32F030XC"
|
bool "STM32F030XC"
|
||||||
|
|
||||||
|
config SOC_STM32F031X6
|
||||||
|
bool "STM32F031X6"
|
||||||
|
|
||||||
config SOC_STM32F051X8
|
config SOC_STM32F051X8
|
||||||
bool "STM32F051X8"
|
bool "STM32F051X8"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue