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:
parent
602fd0d889
commit
33f534e82e
@ -6,6 +6,8 @@ family:
|
||||
- name: stm32c011xx
|
||||
- name: stm32c031xx
|
||||
- name: stm32c071xx
|
||||
- name: stm32c091xx
|
||||
- name: stm32c092xx
|
||||
- name: stm32f0x
|
||||
socs:
|
||||
- name: stm32f030x6
|
||||
|
||||
12
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c091xx
Normal file
12
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c091xx
Normal 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
|
||||
12
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c092xx
Normal file
12
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c092xx
Normal 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
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user