soc: st: add stm32c011xx support

Add STM32C011XX familly support

Signed-off-by: Romain Pelletant <romainp@kickmaker.net>
This commit is contained in:
Romain Pelletant 2024-04-20 19:48:37 +02:00 committed by Fabio Baltieri
parent c8bd343309
commit 68fc448b1c
3 changed files with 17 additions and 0 deletions

View file

@ -3,6 +3,7 @@ family:
series: series:
- name: stm32c0x - name: stm32c0x
socs: socs:
- name: stm32c011xx
- name: stm32c031xx - name: stm32c031xx
- name: stm32f0x - name: stm32f0x
socs: socs:

View file

@ -0,0 +1,11 @@
# STMicroelectronics STM32C011xx MCU
# Copyright (c) 2024 Kickmaker
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32C011XX
config NUM_IRQS
default 29
endif # SOC_STM32C011XX

View file

@ -14,5 +14,10 @@ config SOC_STM32C031XX
bool bool
select SOC_SERIES_STM32C0X select SOC_SERIES_STM32C0X
config SOC_STM32C011XX
bool
select SOC_SERIES_STM32C0X
config SOC config SOC
default "stm32c011xx" if SOC_STM32C011XX
default "stm32c031xx" if SOC_STM32C031XX default "stm32c031xx" if SOC_STM32C031XX