boards: arm: rcar_h3_salvatorx_cr7: 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 15:03:34 +00:00
committed by Carles Cufi
parent 866427ea29
commit b7cc30aaea
14 changed files with 17 additions and 23 deletions

View File

@@ -1,6 +0,0 @@
# Copyright (c) 2022 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config BOARD_RCAR_H3_SALVATORX_CR7
bool "Cortex-R7 for Renesas H3 Salvator-X"
depends on SOC_R8A77951

View File

@@ -1,7 +0,0 @@
# Copyright (c) 2022 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
if BOARD_RCAR_H3_SALVATORX_CR7
config BOARD
default "rcar_h3_salvatorx_cr7"
endif # BOARD_RCAR_H3_SALVATORX_CR7

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2022 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
config BOARD_RCAR_SALVATOR_X
select SOC_R8A77951_R7

View File

@@ -0,0 +1,5 @@
board:
name: rcar_salvator_x
vendor: Renesas
socs:
- name: r8a77951

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -127,12 +127,12 @@ Flashing
First of all, open your serial terminal. First of all, open your serial terminal.
Applications for the ``rcar_h3_salvatorx_cr7`` board configuration can be built Applications for the ``rcar_salvator_x`` board configuration can be built
in the usual way (see :ref:`build_an_application` for more details). in the 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_h3_salvatorx_cr7 :board: rcar_salvator_x
:goals: flash :goals: flash
You should see the following message in the terminal: You should see the following message in the terminal:
@@ -140,7 +140,7 @@ You should see the following message in the terminal:
.. code-block:: console .. code-block:: console
*** Booting Zephyr OS build v2.6.0-rc1 *** *** Booting Zephyr OS build v2.6.0-rc1 ***
Hello World! rcar_h3_salvatorx_cr7 Hello World! rcar_salvator_x
Debugging Debugging
========= =========
@@ -151,7 +151,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_h3_salvatorx_cr7 :board: rcar_salvator_x
:goals: debug :goals: debug
You will then get access to a GDB session for debug. You will then get access to a GDB session for debug.
@@ -161,7 +161,7 @@ By continuing the app, you should see the following message in the terminal:
.. code-block:: console .. code-block:: console
*** Booting Zephyr OS build v2.6.0-rc1 *** *** Booting Zephyr OS build v2.6.0-rc1 ***
Hello World! rcar_h3_salvatorx_cr7 Hello World! rcar_salvator_x
References References
********** **********

View File

@@ -7,7 +7,7 @@
/dts-v1/; /dts-v1/;
#include <arm/renesas/rcar/gen3/r8a77951.dtsi> #include <arm/renesas/rcar/gen3/r8a77951.dtsi>
#include "rcar_h3_salvatorx_cr7-pinctrl.dtsi" #include "rcar_salvator_x_r8a77951_r7-pinctrl.dtsi"
#include <zephyr/dt-bindings/input/input-event-codes.h> #include <zephyr/dt-bindings/input/input-event-codes.h>
/ { / {

View File

@@ -1,4 +1,4 @@
identifier: rcar_h3_salvatorx_cr7 identifier: rcar_salvator_x/r8a77951/r7
name: Cortex r7 for Renesas H3 Salvator-X name: Cortex r7 for Renesas H3 Salvator-X
type: mcu type: mcu
arch: arm arch: arm

View File

@@ -1,6 +1,3 @@
CONFIG_SOC_R8A77951=y
CONFIG_SOC_SERIES_RCAR_GEN3=y
CONFIG_BOARD_RCAR_H3_SALVATORX_CR7=y
CONFIG_CLOCK_CONTROL=y CONFIG_CLOCK_CONTROL=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000 CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000
CONFIG_CONSOLE=y CONFIG_CONSOLE=y