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:
committed by
Carles Cufi
parent
52f797a227
commit
47ec3e416b
@@ -1,3 +1,5 @@
|
|||||||
board:
|
board:
|
||||||
name: pinetime_devkit0
|
name: pinetime_devkit0
|
||||||
vendor: PINE64
|
vendor: PINE64
|
||||||
|
socs:
|
||||||
|
- name: nrf52832
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
@@ -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
|
|
||||||
3
boards/ruuvi/ruuvi_ruuvitag/board.yml
Normal file
3
boards/ruuvi/ruuvi_ruuvitag/board.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
board:
|
||||||
|
name: ruuvi_ruuvitag
|
||||||
|
vendor: Ruuvi
|
||||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@@ -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
|
||||||
**********
|
**********
|
||||||
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user