soc: st: stm32: add stm32c09x support

Adds SoC support for the STM32C091, and the STM32C092 SoCs
which are part of the STM32C0 series.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2025-07-11 10:31:26 +02:00 committed by Chris Friedt
parent 602fd0d889
commit 33f534e82e
4 changed files with 36 additions and 0 deletions

View File

@ -6,6 +6,8 @@ family:
- name: stm32c011xx
- name: stm32c031xx
- name: stm32c071xx
- name: stm32c091xx
- name: stm32c092xx
- name: stm32f0x
socs:
- name: stm32f030x6

View File

@ -0,0 +1,12 @@
# STMicroelectronics STM32C091xx MCU
# Copyright (c) 2024 STMicroelectronics
# Copyright (c) 2025 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32C091XX
config NUM_IRQS
default 30
endif # SOC_STM32C091XX

View File

@ -0,0 +1,12 @@
# STMicroelectronics STM32C092xx MCU
# Copyright (c) 2024 STMicroelectronics
# Copyright (c) 2025 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32C092XX
config NUM_IRQS
default 32
endif # SOC_STM32C092XX

View File

@ -22,7 +22,17 @@ config SOC_STM32C071XX
bool
select SOC_SERIES_STM32C0X
config SOC_STM32C091XX
bool
select SOC_SERIES_STM32C0X
config SOC_STM32C092XX
bool
select SOC_SERIES_STM32C0X
config SOC
default "stm32c011xx" if SOC_STM32C011XX
default "stm32c031xx" if SOC_STM32C031XX
default "stm32c071xx" if SOC_STM32C071XX
default "stm32c091xx" if SOC_STM32C091XX
default "stm32c092xx" if SOC_STM32C092XX