boards: arm: rak5010_nrf52840: 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:03 +00:00
committed by Carles Cufi
parent 9ae6b1804d
commit 499f3e7902
11 changed files with 14 additions and 14 deletions

View File

@@ -3,12 +3,9 @@
# Copyright (c) 2020 Guillaume Paquet <guillaume.paquet@smile.fr>
# SPDX-License-Identifier: Apache-2.0
if BOARD_RAK5010_NRF52840
config BOARD
default "rak5010_nrf52840"
if BOARD_RAK5010
config BT_CTLR
default BT
endif # BOARD_RAK5010_NRF52840
endif # BOARD_RAK5010

View File

@@ -4,5 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_RAK5010_NRF52840
bool "RAK5010 DK NRF52840"
depends on SOC_NRF52840_QIAA
bool
default y
select SOC_NRF52840_QIAA

View File

@@ -0,0 +1,5 @@
board:
name: rak5010
vendor: RAKwireless
socs:
- name: nrf52840

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -48,7 +48,7 @@ Hardware
Supported Features
==================
The rak5010_nrf52840 board configuration supports the following hardware features:
The ``rak5010/nrf52840`` board configuration supports the following hardware features:
+-----------+------------+----------------------+
| Interface | Controller | Driver/Component |
@@ -130,7 +130,7 @@ Flashing
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: rak5010_nrf52840
:board: rak5010/nrf52840
:goals: build flash
You should see "Hello World! rak5010_nrf52840" in your terminal.
@@ -143,7 +143,7 @@ You can debug an application in the usual way. Here is an example for the
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: rak5010_nrf52840
:board: rak5010/nrf52840
:maybe-skip-config:
:goals: debug

View File

@@ -1,4 +1,4 @@
identifier: rak5010_nrf52840
identifier: rak5010/nrf52840
name: RAK5010-NRF52840
type: mcu
arch: arm

View File

@@ -1,7 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_RAK5010_NRF52840=y
# Enable MPU
CONFIG_ARM_MPU=y