Skip to content

Commit

Permalink
boards: arc: hsdk4xd: Convert to v2
Browse files Browse the repository at this point in the history
Converts the board to hwmv2

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm committed Feb 21, 2024
1 parent 2a6de88 commit 8d4fda1
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 29 deletions.
9 changes: 0 additions & 9 deletions boards/boards_legacy/arc/hsdk4xd/Kconfig.defconfig

This file was deleted.

14 changes: 0 additions & 14 deletions boards/boards_legacy/arc/hsdk4xd/hsdk4xd.dts

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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)
5 changes: 5 additions & 0 deletions boards/synopsys/hsdk4xd/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: hsdk4xd
vendor: Synopsys
socs:
- name: arc_hsdk4xd
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include <synopsys/arc_hs4xd.dtsi>

/ {
model = "hsdk4xd";
compatible = "snps,hsdk4xd";

aliases {
uart-dbg = &uart_dbg;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
File renamed without changes.

0 comments on commit 8d4fda1

Please sign in to comment.