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:
committed by
Carles Cufi
parent
e877ce9cec
commit
a2de60c6da
@@ -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
|
||||
@@ -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
|
||||
5
boards/dragino/dragino_nbsn95/Kconfig.dragino_nbsn95
Normal file
5
boards/dragino/dragino_nbsn95/Kconfig.dragino_nbsn95
Normal 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
|
||||
5
boards/dragino/dragino_nbsn95/board.yml
Normal file
5
boards/dragino/dragino_nbsn95/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: dragino_nbsn95
|
||||
vendor: dragino
|
||||
socs:
|
||||
- name: stm32l072xx
|
||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user