boards: arc: hsdk4xd: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
@@ -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
|
||||
@@ -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";
|
||||
};
|
||||
@@ -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
|
||||
@@ -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
boards/synopsys/hsdk4xd/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: hsdk4xd
|
||||
vendor: Synopsys
|
||||
socs:
|
||||
- name: arc_hsdk4xd
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
@@ -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.
|
||||
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
@@ -9,6 +9,8 @@
|
||||
#include <synopsys/arc_hs4xd.dtsi>
|
||||
|
||||
/ {
|
||||
model = "hsdk4xd";
|
||||
compatible = "snps,hsdk4xd";
|
||||
|
||||
aliases {
|
||||
uart-dbg = &uart_dbg;
|
||||
@@ -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
|
||||