soc: st: add stm32c011xx support
Add STM32C011XX familly support Signed-off-by: Romain Pelletant <romainp@kickmaker.net>
This commit is contained in:
parent
c8bd343309
commit
68fc448b1c
3 changed files with 17 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
11
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c011xx
Normal file
11
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c011xx
Normal 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
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue