Browse Source

boards: Convert b_l072z_lrwan1 to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
pull/69687/head
Erwan Gouriou 1 year ago committed by Carles Cufi
parent
commit
2b50218c23
  1. 8
      boards/boards_legacy/arm/b_l072z_lrwan1/Kconfig.board
  2. 11
      boards/boards_legacy/arm/b_l072z_lrwan1/Kconfig.defconfig
  3. 5
      boards/st/b_l072z_lrwan1/Kconfig.b_l072z_lrwan1
  4. 0
      boards/st/b_l072z_lrwan1/b_l072z_lrwan1.dts
  5. 0
      boards/st/b_l072z_lrwan1/b_l072z_lrwan1.yaml
  6. 5
      boards/st/b_l072z_lrwan1/b_l072z_lrwan1_defconfig
  7. 0
      boards/st/b_l072z_lrwan1/board.cmake
  8. 5
      boards/st/b_l072z_lrwan1/board.yml
  9. 0
      boards/st/b_l072z_lrwan1/doc/img/b_l072z_lrwan1.jpg
  10. 2
      boards/st/b_l072z_lrwan1/doc/index.rst
  11. 0
      boards/st/b_l072z_lrwan1/support/openocd.cfg

8
boards/boards_legacy/arm/b_l072z_lrwan1/Kconfig.board

@ -1,8 +0,0 @@ @@ -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

11
boards/boards_legacy/arm/b_l072z_lrwan1/Kconfig.defconfig

@ -1,11 +0,0 @@ @@ -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

5
boards/st/b_l072z_lrwan1/Kconfig.b_l072z_lrwan1

@ -0,0 +1,5 @@ @@ -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

0
boards/boards_legacy/arm/b_l072z_lrwan1/b_l072z_lrwan1.dts → boards/st/b_l072z_lrwan1/b_l072z_lrwan1.dts

0
boards/boards_legacy/arm/b_l072z_lrwan1/b_l072z_lrwan1.yaml → boards/st/b_l072z_lrwan1/b_l072z_lrwan1.yaml

5
boards/boards_legacy/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig → boards/st/b_l072z_lrwan1/b_l072z_lrwan1_defconfig

@ -1,12 +1,7 @@ @@ -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

0
boards/boards_legacy/arm/b_l072z_lrwan1/board.cmake → boards/st/b_l072z_lrwan1/board.cmake

5
boards/st/b_l072z_lrwan1/board.yml

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

0
boards/boards_legacy/arm/b_l072z_lrwan1/doc/img/b_l072z_lrwan1.jpg → boards/st/b_l072z_lrwan1/doc/img/b_l072z_lrwan1.jpg

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

2
boards/boards_legacy/arm/b_l072z_lrwan1/doc/index.rst → boards/st/b_l072z_lrwan1/doc/index.rst

@ -147,7 +147,7 @@ The Zephyr B-L072Z-LRWAN1 Discovery board configuration supports the following h @@ -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

0
boards/boards_legacy/arm/b_l072z_lrwan1/support/openocd.cfg → boards/st/b_l072z_lrwan1/support/openocd.cfg

Loading…
Cancel
Save