Browse Source

boards: arm: reel_board: 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
f294bfc5e4
  1. 12
      boards/boards_legacy/arm/reel_board/Kconfig.board
  2. 22
      boards/boards_legacy/arm/reel_board/reel_board_v2.yaml
  3. 18
      boards/boards_legacy/arm/reel_board/reel_board_v2_defconfig
  4. 0
      boards/phytec/reel_board/CMakeLists.txt
  5. 2
      boards/phytec/reel_board/Kconfig
  6. 8
      boards/phytec/reel_board/Kconfig.defconfig
  7. 9
      boards/phytec/reel_board/Kconfig.reel_board
  8. 0
      boards/phytec/reel_board/board.c
  9. 0
      boards/phytec/reel_board/board.cmake
  10. 11
      boards/phytec/reel_board/board.yml
  11. 0
      boards/phytec/reel_board/doc/img/link_board_base.jpg
  12. 0
      boards/phytec/reel_board/doc/img/rb_lb_shield.jpg
  13. 0
      boards/phytec/reel_board/doc/img/reel_board.jpg
  14. 0
      boards/phytec/reel_board/doc/img/reel_board_debug.jpg
  15. 0
      boards/phytec/reel_board/doc/img/reel_board_descr_back.jpg
  16. 0
      boards/phytec/reel_board/doc/img/reel_board_excon.jpg
  17. 0
      boards/phytec/reel_board/doc/img/reel_board_tp.jpg
  18. 8
      boards/phytec/reel_board/doc/index.rst
  19. 0
      boards/phytec/reel_board/dts/reel_board-pinctrl.dtsi
  20. 0
      boards/phytec/reel_board/dts/reel_board.dtsi
  21. 0
      boards/phytec/reel_board/pre_dt_board.cmake
  22. 0
      boards/phytec/reel_board/reel_board-pinctrl.dtsi
  23. 0
      boards/phytec/reel_board/reel_board.dts
  24. 0
      boards/phytec/reel_board/reel_board.yaml
  25. 0
      boards/phytec/reel_board/reel_board_2-pinctrl.dtsi
  26. 6
      boards/phytec/reel_board/reel_board_2.overlay
  27. 4
      boards/phytec/reel_board/reel_board_defconfig
  28. 0
      boards/phytec/reel_board/support/pyocd.yaml

12
boards/boards_legacy/arm/reel_board/Kconfig.board

@ -1,12 +0,0 @@ @@ -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

22
boards/boards_legacy/arm/reel_board/reel_board_v2.yaml

@ -1,22 +0,0 @@ @@ -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

18
boards/boards_legacy/arm/reel_board/reel_board_v2_defconfig

@ -1,18 +0,0 @@ @@ -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

0
boards/boards_legacy/arm/reel_board/CMakeLists.txt → boards/phytec/reel_board/CMakeLists.txt

2
boards/boards_legacy/arm/reel_board/Kconfig → boards/phytec/reel_board/Kconfig

@ -7,4 +7,4 @@ config BOARD_ENABLE_DCDC @@ -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

8
boards/boards_legacy/arm/reel_board/Kconfig.defconfig → boards/phytec/reel_board/Kconfig.defconfig

@ -3,11 +3,7 @@ @@ -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 @@ -41,4 +37,4 @@ config LV_Z_VDB_SIZE
endif # LVGL
endif # BOARD_REEL_BOARD || BOARD_REEL_BOARD_V2
endif # BOARD_REEL_BOARD

9
boards/phytec/reel_board/Kconfig.reel_board

@ -0,0 +1,9 @@ @@ -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

0
boards/boards_legacy/arm/reel_board/board.c → boards/phytec/reel_board/board.c

0
boards/boards_legacy/arm/reel_board/board.cmake → boards/phytec/reel_board/board.cmake

11
boards/phytec/reel_board/board.yml

@ -0,0 +1,11 @@ @@ -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"

0
boards/boards_legacy/arm/reel_board/doc/img/link_board_base.jpg → boards/phytec/reel_board/doc/img/link_board_base.jpg

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
boards/boards_legacy/arm/reel_board/doc/img/rb_lb_shield.jpg → boards/phytec/reel_board/doc/img/rb_lb_shield.jpg

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

0
boards/boards_legacy/arm/reel_board/doc/img/reel_board.jpg → boards/phytec/reel_board/doc/img/reel_board.jpg

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

0
boards/boards_legacy/arm/reel_board/doc/img/reel_board_debug.jpg → boards/phytec/reel_board/doc/img/reel_board_debug.jpg

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

0
boards/boards_legacy/arm/reel_board/doc/img/reel_board_descr_back.jpg → boards/phytec/reel_board/doc/img/reel_board_descr_back.jpg

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

0
boards/boards_legacy/arm/reel_board/doc/img/reel_board_excon.jpg → boards/phytec/reel_board/doc/img/reel_board_excon.jpg

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

0
boards/boards_legacy/arm/reel_board/doc/img/reel_board_tp.jpg → boards/phytec/reel_board/doc/img/reel_board_tp.jpg

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

8
boards/boards_legacy/arm/reel_board/doc/index.rst → boards/phytec/reel_board/doc/index.rst

@ -85,7 +85,7 @@ used for building an application. @@ -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). @@ -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. @@ -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

0
boards/boards_legacy/arm/reel_board/dts/reel_board-pinctrl.dtsi → boards/phytec/reel_board/dts/reel_board-pinctrl.dtsi

0
boards/boards_legacy/arm/reel_board/dts/reel_board.dtsi → boards/phytec/reel_board/dts/reel_board.dtsi

0
boards/boards_legacy/arm/reel_board/pre_dt_board.cmake → boards/phytec/reel_board/pre_dt_board.cmake

0
boards/boards_legacy/arm/reel_board/reel_board-pinctrl.dtsi → boards/phytec/reel_board/reel_board-pinctrl.dtsi

0
boards/boards_legacy/arm/reel_board/reel_board.dts → boards/phytec/reel_board/reel_board.dts

0
boards/boards_legacy/arm/reel_board/reel_board.yaml → boards/phytec/reel_board/reel_board.yaml

0
boards/boards_legacy/arm/reel_board/reel_board_v2-pinctrl.dtsi → boards/phytec/reel_board/reel_board_2-pinctrl.dtsi

6
boards/boards_legacy/arm/reel_board/reel_board_v2.dts → boards/phytec/reel_board/reel_board_2.overlay

@ -1,14 +1,12 @@ @@ -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";

4
boards/boards_legacy/arm/reel_board/reel_board_defconfig → boards/phytec/reel_board/reel_board_defconfig

@ -1,9 +1,5 @@ @@ -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

0
boards/boards_legacy/arm/reel_board/support/pyocd.yaml → boards/phytec/reel_board/support/pyocd.yaml

Loading…
Cancel
Save