boards: arm: rak4631_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
fe2c90da5c
commit
9ae6b1804d
@@ -3,12 +3,9 @@
|
||||
# Copyright (c) 2021 Guillaume Paquet <guillaume.paquet@smile.fr>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_RAK4631_NRF52840
|
||||
|
||||
config BOARD
|
||||
default "rak4631_nrf52840"
|
||||
if BOARD_RAK4631
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_RAK4631_NRF52840
|
||||
endif # BOARD_RAK4631
|
||||
@@ -3,6 +3,7 @@
|
||||
# Copyright (c) 2021 Guillaume Paquet <guillaume.paquet@smile.fr>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_RAK4631_NRF52840
|
||||
bool "RAK4631 DK NRF52840"
|
||||
depends on SOC_NRF52840_QIAA
|
||||
config BOARD_RAK4631
|
||||
bool
|
||||
default y
|
||||
select SOC_NRF52840_QIAA
|
||||
5
boards/rak/rak4631/board.yml
Normal file
5
boards/rak/rak4631/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: rak4631
|
||||
vendor: RAKwireless
|
||||
socs:
|
||||
- name: nrf52840
|
||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -40,7 +40,7 @@ programming/debug interface.
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
The rak4631_nrf52840 board configuration supports the following hardware features:
|
||||
The ``rak4631/nrf52840`` board configuration supports the following hardware features:
|
||||
|
||||
+-----------+------------+----------------------+
|
||||
| Interface | Controller | Driver/Component |
|
||||
@@ -77,9 +77,8 @@ The rak4631_nrf52840 board configuration supports the following hardware feature
|
||||
| WDT | on-chip | watchdog |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
The default board configuration can be found in the defconfig file:
|
||||
|
||||
``boards/arm/rak4631_nrf52840/rak4631_nrf52840_defconfig``
|
||||
The default board configuration can be found in
|
||||
:zephyr_file:`boards/rak/rak4631/rak4631_nrf52840_defconfig`
|
||||
|
||||
Connections and IOs
|
||||
===================
|
||||
@@ -126,7 +125,7 @@ Flashing
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: rak4631_nrf52840
|
||||
:board: rak4631/nrf52840
|
||||
:goals: build flash
|
||||
|
||||
You should see "Hello World! rak4631_nrf52840" in your terminal.
|
||||
@@ -139,7 +138,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: rak4631_nrf52840
|
||||
:board: rak4631/nrf52840
|
||||
:maybe-skip-config:
|
||||
:goals: debug
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: rak4631_nrf52840
|
||||
identifier: rak4631/nrf52840
|
||||
name: RAK4631-NRF52840
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -1,7 +1,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
CONFIG_SOC_SERIES_NRF52X=y
|
||||
CONFIG_SOC_NRF52840_QIAA=y
|
||||
CONFIG_BOARD_RAK4631_NRF52840=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
Reference in New Issue
Block a user