Browse Source

boards: arm: rak4631_nrf52840: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago committed by Carles Cufi
parent
commit
9ae6b1804d
  1. 7
      boards/rak/rak4631/Kconfig.defconfig
  2. 7
      boards/rak/rak4631/Kconfig.rak4631
  3. 0
      boards/rak/rak4631/board.cmake
  4. 5
      boards/rak/rak4631/board.yml
  5. 0
      boards/rak/rak4631/doc/img/rak4631-front-parts.jpg
  6. 11
      boards/rak/rak4631/doc/index.rst
  7. 0
      boards/rak/rak4631/pre_dt_board.cmake
  8. 0
      boards/rak/rak4631/rak4631_nrf52840-pinctrl.dtsi
  9. 0
      boards/rak/rak4631/rak4631_nrf52840.dts
  10. 2
      boards/rak/rak4631/rak4631_nrf52840.yaml
  11. 3
      boards/rak/rak4631/rak4631_nrf52840_defconfig

7
boards/boards_legacy/arm/rak4631_nrf52840/Kconfig.defconfig → boards/rak/rak4631/Kconfig.defconfig

@ -3,12 +3,9 @@ @@ -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

7
boards/boards_legacy/arm/rak4631_nrf52840/Kconfig.board → boards/rak/rak4631/Kconfig.rak4631

@ -3,6 +3,7 @@ @@ -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

0
boards/boards_legacy/arm/rak4631_nrf52840/board.cmake → boards/rak/rak4631/board.cmake

5
boards/rak/rak4631/board.yml

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

0
boards/boards_legacy/arm/rak4631_nrf52840/doc/img/rak4631-front-parts.jpg → boards/rak/rak4631/doc/img/rak4631-front-parts.jpg

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

11
boards/boards_legacy/arm/rak4631_nrf52840/doc/index.rst → boards/rak/rak4631/doc/index.rst

@ -40,7 +40,7 @@ programming/debug interface. @@ -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 @@ -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 @@ -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 @@ -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

0
boards/boards_legacy/arm/rak4631_nrf52840/pre_dt_board.cmake → boards/rak/rak4631/pre_dt_board.cmake

0
boards/boards_legacy/arm/rak4631_nrf52840/rak4631_nrf52840-pinctrl.dtsi → boards/rak/rak4631/rak4631_nrf52840-pinctrl.dtsi

0
boards/boards_legacy/arm/rak4631_nrf52840/rak4631_nrf52840.dts → boards/rak/rak4631/rak4631_nrf52840.dts

2
boards/boards_legacy/arm/rak4631_nrf52840/rak4631_nrf52840.yaml → boards/rak/rak4631/rak4631_nrf52840.yaml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
identifier: rak4631_nrf52840
identifier: rak4631/nrf52840
name: RAK4631-NRF52840
type: mcu
arch: arm

3
boards/boards_legacy/arm/rak4631_nrf52840/rak4631_nrf52840_defconfig → boards/rak/rak4631/rak4631_nrf52840_defconfig

@ -1,7 +1,4 @@ @@ -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
Loading…
Cancel
Save