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:
committed by
Carles Cufi
parent
866427ea29
commit
b7cc30aaea
@@ -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
|
||||
@@ -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
|
||||
5
boards/renesas/rcar_salvator_x/Kconfig.rcar_salvator_x
Normal file
5
boards/renesas/rcar_salvator_x/Kconfig.rcar_salvator_x
Normal 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
|
||||
5
boards/renesas/rcar_salvator_x/board.yml
Normal file
5
boards/renesas/rcar_salvator_x/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: rcar_salvator_x
|
||||
vendor: Renesas
|
||||
socs:
|
||||
- name: r8a77951
|
||||
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
@@ -127,12 +127,12 @@ Flashing
|
||||
|
||||
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).
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: rcar_h3_salvatorx_cr7
|
||||
:board: rcar_salvator_x
|
||||
:goals: flash
|
||||
|
||||
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
|
||||
|
||||
*** Booting Zephyr OS build v2.6.0-rc1 ***
|
||||
Hello World! rcar_h3_salvatorx_cr7
|
||||
Hello World! rcar_salvator_x
|
||||
|
||||
Debugging
|
||||
=========
|
||||
@@ -151,7 +151,7 @@ Here is an example for the :ref:`hello_world` application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: rcar_h3_salvatorx_cr7
|
||||
:board: rcar_salvator_x
|
||||
:goals: 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
|
||||
|
||||
*** Booting Zephyr OS build v2.6.0-rc1 ***
|
||||
Hello World! rcar_h3_salvatorx_cr7
|
||||
Hello World! rcar_salvator_x
|
||||
|
||||
References
|
||||
**********
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
#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>
|
||||
|
||||
/ {
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: rcar_h3_salvatorx_cr7
|
||||
identifier: rcar_salvator_x/r8a77951/r7
|
||||
name: Cortex r7 for Renesas H3 Salvator-X
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -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_SYS_CLOCK_HW_CYCLES_PER_SEC=32000
|
||||
CONFIG_CONSOLE=y
|
||||
Reference in New Issue
Block a user