boards: arm: reel_board: 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:04 +00:00
committed by Carles Cufi
parent 882524d2a0
commit f294bfc5e4
28 changed files with 29 additions and 71 deletions

View File

@@ -1,12 +0,0 @@
# reel board configuration
# Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
config BOARD_REEL_BOARD
bool "reel board equipped with GDEH0213B1 display"
depends on SOC_NRF52840_QIAA
config BOARD_REEL_BOARD_V2
bool "reel board equipped with GDEH0213B72 display"
depends on SOC_NRF52840_QIAA

View File

@@ -1,22 +0,0 @@
identifier: reel_board_v2
name: reel-board-v2
type: mcu
arch: arm
ram: 512
flash: 1024
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- i2c
- spi
- gpio
- usb_device
- usb_cdc
- ble
- pwm
- arduino_i2c
- arduino_spi
- arduino_gpio
vendor: phytec

View File

@@ -1,18 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_REEL_BOARD_V2=y
# Enable MPU
CONFIG_ARM_MPU=y
# enable GPIO
CONFIG_GPIO=y
# enable uart driver
CONFIG_SERIAL=y
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

View File

@@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC
bool "DCDC mode"
select SOC_DCDC_NRF52X
default y
depends on BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2
depends on BOARD_REEL_BOARD

View File

@@ -3,11 +3,7 @@
# Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
if BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2
config BOARD
default "reel_board" if BOARD_REEL_BOARD
default "reel_board_v2" if BOARD_REEL_BOARD_V2
if BOARD_REEL_BOARD
config I2C
default y
@@ -41,4 +37,4 @@ config LV_Z_VDB_SIZE
endif # LVGL
endif # BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2
endif # BOARD_REEL_BOARD

View File

@@ -0,0 +1,9 @@
# reel board configuration
# Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
config BOARD_REEL_BOARD
bool
default y
select SOC_NRF52840_QIAA

View File

@@ -0,0 +1,11 @@
board:
name: reel_board
vendor: PHYTEC Messtechnik GmbH
socs:
- name: nrf52840
revision:
format: number
default: "1"
revisions:
- name: "1"
- name: "2"

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -85,7 +85,7 @@ used for building an application.
| Good Display | HINK-E0213 | SSD1673 / | reel_board |
| GDEH0213B1 | | ssd16xx | |
+--------------+--------------------+----------------------+-------------------+
| Good Display | HINK-E0213A22 | SSD1675A / | reel_board_v2 |
| Good Display | HINK-E0213A22 | SSD1675A / | reel_board@2 |
| GDEH0213B72 | | ssd16xx | |
+--------------+--------------------+----------------------+-------------------+
@@ -109,7 +109,7 @@ The mode is controlled by MODE pin (P1.00).
.. note::
Actually there is no possibility to reduce energy consumption by the
Low Power mode. Both voltages are always on, see:
:zephyr_file:`boards/arm/reel_board/board.c`
:zephyr_file:`boards/phytec/reel_board/board.c`
Supported Features
==================
@@ -516,12 +516,12 @@ Then build and flash the application in the usual way.
:goals: build flash
.. note::
Please use reel_board_v2 to build a application for the board equipped with
Please use reel_board@2 to build a application for the board equipped with
the GDEH0213B72, see :ref:`reel_board_display`.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: reel_board_v2
:board: reel_board@2
:goals: build flash
Debugging

View File

@@ -1,14 +1,12 @@
/*
* Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
* Copyright (c) 2017 Linaro Limited
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "reel_board.dtsi"
#include "reel_board_v2-pinctrl.dtsi"
#include "reel_board_2-pinctrl.dtsi"
/ {
model = "reel board v2";

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_REEL_BOARD=y
# Enable MPU
CONFIG_ARM_MPU=y