soc: st: stm32: add soc for stm32c071
select soc for stm32c071 and irq configuration Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
parent
626ff5bd9a
commit
12703bf633
3 changed files with 18 additions and 1 deletions
|
@ -5,6 +5,7 @@ family:
|
|||
socs:
|
||||
- name: stm32c011xx
|
||||
- name: stm32c031xx
|
||||
- name: stm32c071xx
|
||||
- name: stm32f0x
|
||||
socs:
|
||||
- name: stm32f030x6
|
||||
|
|
11
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c071xx
Normal file
11
soc/st/stm32/stm32c0x/Kconfig.defconfig.stm32c071xx
Normal file
|
@ -0,0 +1,11 @@
|
|||
# STMicroelectronics STM32C071xx MCU
|
||||
|
||||
# Copyright (c) 2024 STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32C071XX
|
||||
|
||||
config NUM_IRQS
|
||||
default 29
|
||||
|
||||
endif # SOC_STM32C071XX
|
|
@ -10,14 +10,19 @@ config SOC_SERIES_STM32C0X
|
|||
config SOC_SERIES
|
||||
default "stm32c0x" if SOC_SERIES_STM32C0X
|
||||
|
||||
config SOC_STM32C011XX
|
||||
bool
|
||||
select SOC_SERIES_STM32C0X
|
||||
|
||||
config SOC_STM32C031XX
|
||||
bool
|
||||
select SOC_SERIES_STM32C0X
|
||||
|
||||
config SOC_STM32C011XX
|
||||
config SOC_STM32C071XX
|
||||
bool
|
||||
select SOC_SERIES_STM32C0X
|
||||
|
||||
config SOC
|
||||
default "stm32c011xx" if SOC_STM32C011XX
|
||||
default "stm32c031xx" if SOC_STM32C031XX
|
||||
default "stm32c071xx" if SOC_STM32C071XX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue