boards: Convert olimex_lora_stm32wl_devkit to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni
2024-02-05 17:10:51 +01:00
committed by Jamie McCrae
parent ba01d3beca
commit 07fa3a3d79
14 changed files with 15 additions and 32 deletions

View File

@@ -1,11 +0,0 @@
# Olimex LoRa STM32WL DevKit configuration
# Copyright (c) 2022 Martin Jäger <martin@libre.solar>
# SPDX-License-Identifier: Apache-2.0
if BOARD_OLIMEX_LORA_STM32WL_DEVKIT
config BOARD
default "olimex_lora_stm32wl_devkit"
endif # BOARD_OLIMEX_LORA_STM32WL_DEVKIT

View File

@@ -1,11 +0,0 @@
#
# Copyright (c) 2023 Kenneth J. Miller <ken@miller.ec>
#
# SPDX-License-Identifier: Apache-2.0
#
board_check_revision(
FORMAT LETTER
DEFAULT_REVISION B
VALID_REVISIONS A B C D
)

View File

@@ -1,8 +1,5 @@
# Olimex LoRa STM32WL DevKit configuration
# Copyright (c) 2022 Martin Jäger <martin@libre.solar>
# SPDX-License-Identifier: Apache-2.0
config BOARD_OLIMEX_LORA_STM32WL_DEVKIT
bool "Olimex LoRa STM32WL DevKit"
depends on SOC_STM32WLE5XX
select SOC_STM32WLE5XX

View File

@@ -0,0 +1,11 @@
board:
name: olimex_lora_stm32wl_devkit
vendor: olimex
revision:
format: letter
default: "C"
revisions:
- name: "C"
- name: "D"
socs:
- name: stm32wle5xx

View File

@@ -81,10 +81,10 @@ hardware features:
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig and dts files:
The default configuration can be found in:
- :zephyr_file:`boards/arm/olimex_lora_stm32wl_devkit/olimex_lora_stm32wl_devkit_defconfig`
- :zephyr_file:`boards/arm/olimex_lora_stm32wl_devkit/olimex_lora_stm32wl_devkit.dts`
- :zephyr_file:`boards/olimex/olimex_lora_stm32wl_devkit/olimex_lora_stm32wl_devkit_defconfig`
- :zephyr_file:`boards/olimex/olimex_lora_stm32wl_devkit/olimex_lora_stm32wl_devkit.dts`
Programming and Debugging
*************************

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_SERIES_STM32WLX=y
CONFIG_SOC_STM32WLE5XX=y
# enable uart driver
CONFIG_SERIAL=y