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:
committed by
Carles Cufi
parent
9ae6b1804d
commit
499f3e7902
@@ -3,12 +3,9 @@
|
|||||||
# Copyright (c) 2020 Guillaume Paquet <guillaume.paquet@smile.fr>
|
# Copyright (c) 2020 Guillaume Paquet <guillaume.paquet@smile.fr>
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if BOARD_RAK5010_NRF52840
|
if BOARD_RAK5010
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "rak5010_nrf52840"
|
|
||||||
|
|
||||||
config BT_CTLR
|
config BT_CTLR
|
||||||
default BT
|
default BT
|
||||||
|
|
||||||
endif # BOARD_RAK5010_NRF52840
|
endif # BOARD_RAK5010
|
||||||
@@ -4,5 +4,6 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_RAK5010_NRF52840
|
config BOARD_RAK5010_NRF52840
|
||||||
bool "RAK5010 DK NRF52840"
|
bool
|
||||||
depends on SOC_NRF52840_QIAA
|
default y
|
||||||
|
select SOC_NRF52840_QIAA
|
||||||
5
boards/rak/rak5010/board.yml
Normal file
5
boards/rak/rak5010/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: rak5010
|
||||||
|
vendor: RAKwireless
|
||||||
|
socs:
|
||||||
|
- name: nrf52840
|
||||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
@@ -48,7 +48,7 @@ Hardware
|
|||||||
Supported Features
|
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 |
|
| Interface | Controller | Driver/Component |
|
||||||
@@ -130,7 +130,7 @@ Flashing
|
|||||||
|
|
||||||
.. zephyr-app-commands::
|
.. zephyr-app-commands::
|
||||||
:zephyr-app: samples/hello_world
|
:zephyr-app: samples/hello_world
|
||||||
:board: rak5010_nrf52840
|
:board: rak5010/nrf52840
|
||||||
:goals: build flash
|
:goals: build flash
|
||||||
|
|
||||||
You should see "Hello World! rak5010_nrf52840" in your terminal.
|
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-commands::
|
||||||
:zephyr-app: samples/hello_world
|
:zephyr-app: samples/hello_world
|
||||||
:board: rak5010_nrf52840
|
:board: rak5010/nrf52840
|
||||||
:maybe-skip-config:
|
:maybe-skip-config:
|
||||||
:goals: debug
|
:goals: debug
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
identifier: rak5010_nrf52840
|
identifier: rak5010/nrf52840
|
||||||
name: RAK5010-NRF52840
|
name: RAK5010-NRF52840
|
||||||
type: mcu
|
type: mcu
|
||||||
arch: arm
|
arch: arm
|
||||||
@@ -1,7 +1,4 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
CONFIG_SOC_SERIES_NRF52X=y
|
|
||||||
CONFIG_SOC_NRF52840_QIAA=y
|
|
||||||
CONFIG_BOARD_RAK5010_NRF52840=y
|
|
||||||
|
|
||||||
# Enable MPU
|
# Enable MPU
|
||||||
CONFIG_ARM_MPU=y
|
CONFIG_ARM_MPU=y
|
||||||
Reference in New Issue
Block a user