soc: arm: stm32g0: add STM32G031 SoC series

This commit adds support for the STM32G031xx SoCs
by STMicroelectronics.

Signed-off-by: Filip Brozovic <fbrozovic@gmail.com>
This commit is contained in:
Filip Brozovic 2019-10-07 08:35:35 +02:00 committed by Carles Cufí
commit e541e63653
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# STMicroelectronics STM32G031xx MCU
# Copyright (c) 2019 SEAL AG
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32G031XX
config SOC
string
default "stm32g031xx"
config NUM_IRQS
int
default 30
endif # SOC_STM32G031XX

View file

@ -8,6 +8,9 @@ choice
prompt "STM32G0x MCU Selection"
depends on SOC_SERIES_STM32G0X
config SOC_STM32G031XX
bool "STM32G031XX"
config SOC_STM32G071XX
bool "STM32G071XX"