soc/arm: add support for stm32g0 socs with (hw aes and) rng support

This commit introduces g041, g061, g081, and g0c1 socs in kconfig.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2021-06-07 19:50:43 +02:00 committed by Christopher Friedt
commit 63478aba48
5 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# STMicroelectronics STM32G041xx MCU
# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32G041XX
config SOC
default "stm32g041xx"
config NUM_IRQS
default 32
endif # SOC_STM32G041XX

View file

@ -0,0 +1,14 @@
# STMicroelectronics STM32G061xx MCU
# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32G061XX
config SOC
default "stm32g061xx"
config NUM_IRQS
default 32
endif # SOC_STM32G061XX

View file

@ -0,0 +1,15 @@
# STMicroelectronics STM32G081xx MCU
# Copyright (c) 2019 STMicroelectronics
# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32G081XX
config SOC
default "stm32g081xx"
config NUM_IRQS
default 32
endif # SOC_STM32G081XX

View file

@ -0,0 +1,14 @@
# STMicroelectronics STM32G0C1xx MCU
# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32G0C1XX
config SOC
default "stm32g0c1xx"
config NUM_IRQS
default 32
endif # SOC_STM32G0C1XX

View file

@ -15,22 +15,34 @@ config SOC_STM32G030XX
config SOC_STM32G031XX
bool "STM32G031XX"
config SOC_STM32G041XX
bool "STM32G041XX"
config SOC_STM32G050XX
bool "STM32G050XX"
config SOC_STM32G051XX
bool "STM32G051XX"
config SOC_STM32G061XX
bool "STM32G061XX"
config SOC_STM32G070XX
bool "STM32G070XX"
config SOC_STM32G071XX
bool "STM32G071XX"
config SOC_STM32G081XX
bool "STM32G081XX"
config SOC_STM32G0B0XX
bool "STM32G0B0XX"
config SOC_STM32G0B1XX
bool "STM32G0B1XX"
config SOC_STM32G0C1XX
bool "STM32G0C1XX"
endchoice