Skip to content

Commit

Permalink
soc/arm: add support for additonal stm32wl socs
Browse files Browse the repository at this point in the history
This commit adds support for stm32wle4xx, stm32wle5xx single core socs,
as well as stm32wl54 dual core soc.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
  • Loading branch information
str4t0m authored and cfriedt committed Jul 13, 2021
1 parent f05a6ba commit e804f5a
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
14 changes: 14 additions & 0 deletions soc/arm/st_stm32/stm32wl/Kconfig.defconfig.stm32wl54xx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# STMicroelectronics STM32WL54 MCU

# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0

if SOC_STM32WL54XX

config SOC
default "stm32wl54xx"

config NUM_IRQS
default 62

endif # SOC_STM32WL54XX
14 changes: 14 additions & 0 deletions soc/arm/st_stm32/stm32wl/Kconfig.defconfig.stm32wle4xx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# STMicroelectronics STM32WLE4 MCU

# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0

if SOC_STM32WLE4XX

config SOC
default "stm32wle4xx"

config NUM_IRQS
default 62

endif # SOC_STM32WLE4XX
14 changes: 14 additions & 0 deletions soc/arm/st_stm32/stm32wl/Kconfig.defconfig.stm32wle5xx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# STMicroelectronics STM32WLE5 MCU

# Copyright (c) 2021 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0

if SOC_STM32WLE5XX

config SOC
default "stm32wle5xx"

config NUM_IRQS
default 62

endif # SOC_STM32WLE5XX
9 changes: 9 additions & 0 deletions soc/arm/st_stm32/stm32wl/Kconfig.soc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ choice
prompt "STM32WLx MCU Selection"
depends on SOC_SERIES_STM32WLX

config SOC_STM32WLE4XX
bool "STM32WLE4XX"

config SOC_STM32WLE5XX
bool "STM32WLE5XX"

config SOC_STM32WL54XX
bool "STM32WL54XX"

config SOC_STM32WL55XX
bool "STM32WL55XX"

Expand Down

0 comments on commit e804f5a

Please sign in to comment.