boards: arc: hsdk4xd: 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-02 07:58:13 +00:00
committed by Carles Cufi
parent c4c14a54ca
commit 6f6cc57a04
15 changed files with 10 additions and 29 deletions

View File

@@ -1,9 +0,0 @@
# Copyright (c) 2023 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
if BOARD_HSDK4XD
config BOARD
default "hsdk4xd"
endif #BOARD_HSDK4XD

View File

@@ -1,14 +0,0 @@
/*
* Copyright (c) 2023, Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include "hsdk4xd.dtsi"
/ {
model = "hsdk4xd";
compatible = "snps,hsdk4xd";
};

View File

@@ -4,8 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_HSDK4XD
bool "ARC HSDK4XD Development Kit"
depends on SOC_ARC_HSDK4XD
select SOC_ARC_HSDK4XD
help
The ARC HS4x/4xD Development Kit is a ready-to-use software development
platform for the ARC HS4x/4xD family of processor IP. It includes

View File

@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(openocd "--use-elf")
board_runner_args(openocd "--use-elf")
board_runner_args(mdb-hw "--jtag=digilent" "--cores=${CONFIG_MP_MAX_NUM_CPUS}")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/mdb-hw.board.cmake)

View File

@@ -0,0 +1,5 @@
board:
name: hsdk4xd
vendor: Synopsys
socs:
- name: arc_hsdk4xd

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

@@ -391,7 +391,7 @@ You can try many of the :ref:`sample applications and demos
Configuring
-----------
You may need to write a ``prj_arc.conf`` file if the sample doesn't have one.
You may need to write a ``prj.conf`` file if the sample doesn't have one.
Next, you can use the menuconfig rule to configure the target. By specifying
``hsdk4xd`` as the board configuration, you can select the ARC HS4x/HS4xD Development
Kit board support for Zephyr.

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

@@ -9,6 +9,8 @@
#include <synopsys/arc_hs4xd.dtsi>
/ {
model = "hsdk4xd";
compatible = "snps,hsdk4xd";
aliases {
uart-dbg = &uart_dbg;

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_ARC_HSDK4XD=y
CONFIG_BOARD_HSDK4XD=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n