boards: arm: rcar_spider_cr52: 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-07 11:17:11 +00:00
committed by Carles Cufi
parent 6d0c53f3a1
commit 97cf636ae0
13 changed files with 18 additions and 26 deletions

View File

@@ -1,6 +0,0 @@
# Copyright (c) 2023 IoT.bzh
# SPDX-License-Identifier: Apache-2.0
config BOARD_RCAR_SPIDER_CR52
bool "Cortex-R52 for Renesas Spider"
depends on SOC_R8A779F0

View File

@@ -1,9 +0,0 @@
# Copyright (c) 2023 IoT.bzh
# SPDX-License-Identifier: Apache-2.0
if BOARD_RCAR_SPIDER_CR52
config BOARD
default "rcar_spider_cr52"
endif # BOARD_RCAR_SPIDER_CR52

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2023 IoT.bzh
# SPDX-License-Identifier: Apache-2.0
config BOARD_RCAR_SPIDER_S4
select SOC_R8A779F0

View File

@@ -0,0 +1,5 @@
board:
name: rcar_spider_s4
vendor: Renesas
socs:
- name: r8a779f0

View File

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -141,12 +141,12 @@ Flashing
First of all, open your serial terminal. First of all, open your serial terminal.
Applications for the ``rcar_spider_cr52`` board configuration can be built in the Applications for the ``rcar_spider_s4`` board configuration can be built in the
usual way (see :ref:`build_an_application` for more details). usual way (see :ref:`build_an_application` for more details).
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: rcar_spider_cr52 :board: rcar_spider_s4
:goals: flash :goals: flash
You should see the following message in the terminal: You should see the following message in the terminal:
@@ -154,7 +154,7 @@ You should see the following message in the terminal:
.. code-block:: console .. code-block:: console
*** Booting Zephyr OS build v3.3.0-rc2 *** *** Booting Zephyr OS build v3.3.0-rc2 ***
Hello World! rcar_spider_cr52 Hello World! rcar_spider_s4
Debugging Debugging
========= =========
@@ -165,7 +165,7 @@ Here is an example for the :ref:`hello_world` application.
.. zephyr-app-commands:: .. zephyr-app-commands::
:zephyr-app: samples/hello_world :zephyr-app: samples/hello_world
:board: rcar_spider_cr52 :board: rcar_spider_s4
:goals: debug :goals: debug
You will then get access to a GDB session for debugging. You will then get access to a GDB session for debugging.
@@ -175,7 +175,7 @@ By continuing the app, you should see the following message in the terminal:
.. code-block:: console .. code-block:: console
*** Booting Zephyr OS build v3.3.0-rc2 *** *** Booting Zephyr OS build v3.3.0-rc2 ***
Hello World! rcar_spider_cr52 Hello World! rcar_spider_s4
References References
********** **********

View File

@@ -7,12 +7,12 @@
/dts-v1/; /dts-v1/;
#include <arm/renesas/rcar/gen4/r8a779f0.dtsi> #include <arm/renesas/rcar/gen4/r8a779f0.dtsi>
#include "rcar_spider_cr52-pinctrl.dtsi" #include "rcar_spider_s4-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h> #include <zephyr/dt-bindings/input/input-event-codes.h>
/ { / {
model = "Renesas Spider board"; model = "Renesas Spider board";
compatible = "renesas,spider-cr52"; compatible = "renesas,spider-s4";
chosen { chosen {
zephyr,sram = &sram0; zephyr,sram = &sram0;

View File

@@ -1,4 +1,4 @@
identifier: rcar_spider_cr52 identifier: rcar_spider_s4
name: Cortex r52 for Renesas Spider name: Cortex r52 for Renesas Spider
type: mcu type: mcu
arch: arm arch: arm

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_R8A779F0=y
CONFIG_SOC_SERIES_RCAR_GEN4=y
CONFIG_BOARD_RCAR_SPIDER_CR52=y
CONFIG_CLOCK_CONTROL=y CONFIG_CLOCK_CONTROL=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=12500000 CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=12500000
CONFIG_CONSOLE=y CONFIG_CONSOLE=y