boards: arc: hsdk: 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:57:40 +00:00
committed by Carles Cufi
parent 1cf2498b13
commit f93387f968
21 changed files with 14 additions and 26 deletions

View File

@@ -1,16 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_ARC_HSDK=y
CONFIG_BOARD_HSDK=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y
CONFIG_BUILD_OUTPUT_BIN=n
CONFIG_ARCV2_INTERRUPT_UNIT=y
CONFIG_ARCV2_TIMER=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_GPIO=y
CONFIG_SMP=y
CONFIG_MP_MAX_NUM_CPUS=2

View File

@@ -3,9 +3,6 @@
if BOARD_HSDK
config BOARD
default "hsdk"
if SPI_DW
config SPI_DW_ACCESS_WORD_ONLY
@@ -18,6 +15,6 @@ if I2C_DW
config I2C_DW_CLOCK_SPEED
default 200
endif #I2C_DW
endif # I2C_DW
endif # BOARD_HSDK

View File

@@ -4,8 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_HSDK
bool "ARC HS Development Kit"
depends on SOC_ARC_HSDK
select SOC_ARC_HSDK
help
The DesignWare ARC HS Development Kit is a ready-to-use platform for
rapid software development on the ARC HS3x family of processors. It

View File

@@ -2,7 +2,7 @@
board_runner_args(openocd "--use-elf")
if(${CONFIG_MP_MAX_NUM_CPUS} EQUAL 2)
board_runner_args(openocd "--config=${CMAKE_CURRENT_LIST_DIR}/support/openocd-2-cores.cfg")
board_runner_args(openocd "--config=${CMAKE_CURRENT_LIST_DIR}/support/openocd-2-cores.cfg")
endif()
board_runner_args(mdb-hw "--jtag=digilent" "--cores=${CONFIG_MP_MAX_NUM_CPUS}")

View File

@@ -0,0 +1,7 @@
board:
name: hsdk
vendor: Synopsys
socs:
- name: arc_hsdk
variants:
- name: 2cores

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,4 +1,4 @@
identifier: hsdk_2cores
identifier: hsdk/arc_hsdk/2cores
name: HS Development Kit(2 cores)
type: mcu
arch: arc

View File

@@ -0,0 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_MP_MAX_NUM_CPUS=2

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_ARC_HSDK=y
CONFIG_BOARD_HSDK=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=100
CONFIG_XIP=n
CONFIG_BUILD_NO_GAP_FILL=y