boards: arm: ruuvi_ruuvitag: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:38:07 +00:00
committed by Carles Cufi
parent 52f797a227
commit 47ec3e416b
14 changed files with 7 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
board: board:
name: pinetime_devkit0 name: pinetime_devkit0
vendor: PINE64 vendor: PINE64
socs:
- name: nrf52832

View File

@@ -5,9 +5,6 @@
if BOARD_RUUVI_RUUVITAG if BOARD_RUUVI_RUUVITAG
config BOARD
default "ruuvi_ruuvitag"
config SPI config SPI
default y default y

View File

@@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
config BOARD_RUUVI_RUUVITAG config BOARD_RUUVI_RUUVITAG
bool "Ruuvi-RuuviTag" select SOC_NRF52832_QFAA
depends on SOC_NRF52832_QFAA

View File

@@ -0,0 +1,3 @@
board:
name: ruuvi_ruuvitag
vendor: Ruuvi

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -172,7 +172,7 @@ the board are working properly with Zephyr:
* :zephyr:code-sample:`button` * :zephyr:code-sample:`button`
You can build and flash the examples to make sure Zephyr is running correctly on You can build and flash the examples to make sure Zephyr is running correctly on
your board. The button and LED definitions can be found in :file:`boards/arm/ruuvi_ruuvitag/ruuvi_ruuvitag.dts`. your board. The button and LED definitions can be found in :file:`boards/ruuvi//ruuvi_ruuvitag/ruuvi_ruuvitag.dts`.
References References
********** **********

View File

@@ -1,10 +1,6 @@
# Copyright (c) 2020 Ruuvi Innovations Ltd (Oy) # Copyright (c) 2020 Ruuvi Innovations Ltd (Oy)
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52832_QFAA=y
CONFIG_BOARD_RUUVI_RUUVITAG=y
# Enable MPU # Enable MPU
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y