boards: Convert b_l072z_lrwan1 to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou
2024-02-15 17:32:20 +01:00
committed by Carles Cufi
parent 4a65f55916
commit 2b50218c23
11 changed files with 11 additions and 25 deletions

View File

@@ -1,8 +0,0 @@
# STMicroelectronics B-L072Z-LRWAN1 Discovery board configuration
# Copyright (c) 2018 Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_B_L072Z_LRWAN1
bool "STMicroelectronics B-L072Z-LRWAN1 Discovery kit"
depends on SOC_STM32L072XX

View File

@@ -1,11 +0,0 @@
# STMicroelectronics B-L072Z-LRWAN1 Discovery board configuration
# Copyright (c) 2018 Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_B_L072Z_LRWAN1
config BOARD
default "b_l072z_lrwan1"
endif # BOARD_B_L072Z_LRWAN1

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2018 Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_B_L072Z_LRWAN1
select SOC_STM32L072XX

View File

@@ -1,12 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32L0X=y
# Platform Configuration
CONFIG_SOC_STM32L072XX=y
CONFIG_BOARD_B_L072Z_LRWAN1=y
# Enable MPU
CONFIG_ARM_MPU=y

View File

@@ -0,0 +1,5 @@
board:
name: b_l072z_lrwan1
vendor: st
socs:
- name: stm32l072xx

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -147,7 +147,7 @@ The Zephyr B-L072Z-LRWAN1 Discovery board configuration supports the following h
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig``
:zephyr_file:`boards/st/b_l072z_lrwan1/b_l072z_lrwan1_defconfig`
Connections and IOs