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:
committed by
Carles Cufi
parent
6d0c53f3a1
commit
97cf636ae0
@@ -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
|
||||
@@ -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
|
||||
5
boards/renesas/rcar_spider_s4/Kconfig.rcar_spider_s4
Normal file
5
boards/renesas/rcar_spider_s4/Kconfig.rcar_spider_s4
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2023 IoT.bzh
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_RCAR_SPIDER_S4
|
||||
select SOC_R8A779F0
|
||||
5
boards/renesas/rcar_spider_s4/board.yml
Normal file
5
boards/renesas/rcar_spider_s4/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: rcar_spider_s4
|
||||
vendor: Renesas
|
||||
socs:
|
||||
- name: r8a779f0
|
||||
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
@@ -141,12 +141,12 @@ Flashing
|
||||
|
||||
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).
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: rcar_spider_cr52
|
||||
:board: rcar_spider_s4
|
||||
:goals: flash
|
||||
|
||||
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
|
||||
|
||||
*** Booting Zephyr OS build v3.3.0-rc2 ***
|
||||
Hello World! rcar_spider_cr52
|
||||
Hello World! rcar_spider_s4
|
||||
|
||||
Debugging
|
||||
=========
|
||||
@@ -165,7 +165,7 @@ Here is an example for the :ref:`hello_world` application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: rcar_spider_cr52
|
||||
:board: rcar_spider_s4
|
||||
:goals: debug
|
||||
|
||||
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
|
||||
|
||||
*** Booting Zephyr OS build v3.3.0-rc2 ***
|
||||
Hello World! rcar_spider_cr52
|
||||
Hello World! rcar_spider_s4
|
||||
|
||||
References
|
||||
**********
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
/dts-v1/;
|
||||
#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>
|
||||
|
||||
/ {
|
||||
model = "Renesas Spider board";
|
||||
compatible = "renesas,spider-cr52";
|
||||
compatible = "renesas,spider-s4";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: rcar_spider_cr52
|
||||
identifier: rcar_spider_s4
|
||||
name: Cortex r52 for Renesas Spider
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -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_SYS_CLOCK_HW_CYCLES_PER_SEC=12500000
|
||||
CONFIG_CONSOLE=y
|
||||
Reference in New Issue
Block a user