boards: Convert dragino_lsn50 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:33:24 +01:00
committed by Carles Cufi
parent 2b50218c23
commit e877ce9cec
11 changed files with 17 additions and 22 deletions

View File

@@ -1,11 +0,0 @@
# Dragino LSN50 LoRA Sensor Node board configuration
# Copyright (c) 2018 Endre Karlson <endre.karlson@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_DRAGINO_LSN50
config BOARD
default "dragino_lsn50"
endif # BOARD_DRAGINO_LSN50

View File

@@ -1,8 +1,5 @@
# Dragino LSN50 LoRA Sensor Node board configuration
# Copyright (c) 2018 Endre Karlson <endre.karlson@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_DRAGINO_LSN50
bool "Dragino LSN50 Sensor Node"
depends on SOC_STM32L072XX
select SOC_STM32L072XX

View File

@@ -0,0 +1,5 @@
board:
name: dragino_lsn50
vendor: dragino
socs:
- name: stm32l072xx

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -101,8 +101,7 @@ The Zephyr Dragino LSN50 board configuration supports the following hardware fea
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/dragino_lsn50/dragino_lsn50_defconfig``
:zephyr_file:`boards/dragino/dragino_lsn50/dragino_lsn50_defconfig`
Connections and IOs

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_DRAGINO_LSN50=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y

10
boards/dragino/index.rst Normal file
View File

@@ -0,0 +1,10 @@
.. _boards-dragino:
Dragino
#######
.. toctree::
:maxdepth: 1
:glob:
**/*