boards: Convert dragino_nbsn95 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:38 +01:00
committed by Carles Cufi
parent e877ce9cec
commit a2de60c6da
11 changed files with 11 additions and 26 deletions

View File

@@ -1,8 +0,0 @@
# Dragino NBSN95 NB-IoT Sensor Node board configuration
# Copyright (c) 2021 Next Big Thing AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_DRAGINO_NBSN95
bool "Dragino NBSN95 Sensor Node"
depends on SOC_STM32L072XX

View File

@@ -1,11 +0,0 @@
# Dragino NBSN95 NB-IoT Sensor Node board configuration
# Copyright (c) 2021 Next Big Thing AG
# SPDX-License-Identifier: Apache-2.0
if BOARD_DRAGINO_NBSN95
config BOARD
default "dragino_nbsn95"
endif # BOARD_DRAGINO_NBSN95

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2021 Next Big Thing AG
# SPDX-License-Identifier: Apache-2.0
config BOARD_DRAGINO_NBSN95
select SOC_STM32L072XX

View File

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

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -100,8 +100,7 @@ The Zephyr Dragino NBSN95 board configuration supports the following hardware fe
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/dragino_nbsn95/dragino_nbsn95_defconfig``
:zephyr_file:`boards/dragino/dragino_nbsn95/dragino_nbsn95_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_NBSN95=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y