Skip to content

Commit

Permalink
soc: st: stm32: add soc for stm32u073
Browse files Browse the repository at this point in the history
select soc for stm32u073 and irq configuration

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
  • Loading branch information
djiatsaf-st authored and fabiobaltieri committed Sep 5, 2024
1 parent af7a690 commit 4677920
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions soc/st/stm32/soc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ family:
- name: stm32u0x
socs:
- name: stm32u031xx
- name: stm32u073xx
- name: stm32u083xx
- name: stm32u5x
socs:
Expand Down
11 changes: 11 additions & 0 deletions soc/st/stm32/stm32u0x/Kconfig.defconfig.stm32u073xx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# STMicroelectronics STM32U073XX MCU

# Copyright (c) 2024 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0

if SOC_STM32U073XX

config NUM_IRQS
default 32

endif # SOC_STM32U073XX
5 changes: 5 additions & 0 deletions soc/st/stm32/stm32u0x/Kconfig.soc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ config SOC_STM32U031XX
bool
select SOC_SERIES_STM32U0X

config SOC_STM32U073XX
bool
select SOC_SERIES_STM32U0X

config SOC_STM32U083XX
bool
select SOC_SERIES_STM32U0X

config SOC
default "stm32u031xx" if SOC_STM32U031XX
default "stm32u073xx" if SOC_STM32U073XX
default "stm32u083xx" if SOC_STM32U083XX

0 comments on commit 4677920

Please sign in to comment.