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:
committed by
Carles Cufi
parent
4a65f55916
commit
2b50218c23
@@ -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
|
||||
@@ -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
Normal file
5
boards/st/b_l072z_lrwan1/Kconfig.b_l072z_lrwan1
Normal 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
|
||||
@@ -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
|
||||
|
||||
5
boards/st/b_l072z_lrwan1/board.yml
Normal file
5
boards/st/b_l072z_lrwan1/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: b_l072z_lrwan1
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l072xx
|
||||
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
@@ -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
|
||||
Reference in New Issue
Block a user