soc/arm: add support for additonal stm32wl socs

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>
This commit is contained in:
Thomas Stranger 2021-05-02 15:46:59 +02:00 committed by Christopher Friedt
commit e804f5a5c6
5 changed files with 51 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"