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:
committed by
Jamie McCrae
parent
ba01d3beca
commit
07fa3a3d79
@@ -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
|
||||
@@ -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
|
||||
)
|
||||
@@ -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
|
||||
11
boards/olimex/olimex_lora_stm32wl_devkit/board.yml
Normal file
11
boards/olimex/olimex_lora_stm32wl_devkit/board.yml
Normal 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
|
||||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
@@ -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
|
||||
*************************
|
||||
@@ -1,6 +1,3 @@
|
||||
CONFIG_SOC_SERIES_STM32WLX=y
|
||||
CONFIG_SOC_STM32WLE5XX=y
|
||||
|
||||
# enable uart driver
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
Reference in New Issue
Block a user