Browse Source

boards: Convert dragino_nbsn95 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
a2de60c6da
  1. 8
      boards/boards_legacy/arm/dragino_nbsn95/Kconfig.board
  2. 11
      boards/boards_legacy/arm/dragino_nbsn95/Kconfig.defconfig
  3. 5
      boards/dragino/dragino_nbsn95/Kconfig.dragino_nbsn95
  4. 0
      boards/dragino/dragino_nbsn95/board.cmake
  5. 5
      boards/dragino/dragino_nbsn95/board.yml
  6. 0
      boards/dragino/dragino_nbsn95/doc/img/dragino_nbsn95.jpg
  7. 3
      boards/dragino/dragino_nbsn95/doc/index.rst
  8. 0
      boards/dragino/dragino_nbsn95/dragino_nbsn95.dts
  9. 0
      boards/dragino/dragino_nbsn95/dragino_nbsn95.yaml
  10. 5
      boards/dragino/dragino_nbsn95/dragino_nbsn95_defconfig
  11. 0
      boards/dragino/dragino_nbsn95/support/openocd.cfg

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

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

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

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

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

0
boards/boards_legacy/arm/dragino_nbsn95/board.cmake → boards/dragino/dragino_nbsn95/board.cmake

5
boards/dragino/dragino_nbsn95/board.yml

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

0
boards/boards_legacy/arm/dragino_nbsn95/doc/img/dragino_nbsn95.jpg → boards/dragino/dragino_nbsn95/doc/img/dragino_nbsn95.jpg

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

3
boards/boards_legacy/arm/dragino_nbsn95/doc/index.rst → boards/dragino/dragino_nbsn95/doc/index.rst

@ -100,8 +100,7 @@ The Zephyr Dragino NBSN95 board configuration supports the following hardware fe @@ -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

0
boards/boards_legacy/arm/dragino_nbsn95/dragino_nbsn95.dts → boards/dragino/dragino_nbsn95/dragino_nbsn95.dts

0
boards/boards_legacy/arm/dragino_nbsn95/dragino_nbsn95.yaml → boards/dragino/dragino_nbsn95/dragino_nbsn95.yaml

5
boards/boards_legacy/arm/dragino_nbsn95/dragino_nbsn95_defconfig → boards/dragino/dragino_nbsn95/dragino_nbsn95_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_DRAGINO_NBSN95=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y

0
boards/boards_legacy/arm/dragino_nbsn95/support/openocd.cfg → boards/dragino/dragino_nbsn95/support/openocd.cfg

Loading…
Cancel
Save