boards: arm: scobc_module1: 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-06 15:12:43 +00:00
committed by Carles Cufi
parent d5473b76fe
commit 8053c3a8df
16 changed files with 11 additions and 15 deletions

View File

@@ -1,7 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_BOARD_SCOBC_MODULE1)
board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd-ftdi.cfg")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
endif()

View File

@@ -5,9 +5,6 @@
if BOARD_SCOBC_MODULE1
config BOARD
default "scobc_module1"
config CPU_CORTEX_M_HAS_SYSTICK
default y

View File

@@ -4,5 +4,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_SCOBC_MODULE1
bool "Space Cubics OBC Module 1"
depends on SOC_SERIES_ARM_DESIGNSTART
select SOC_ARM_DESIGNSTART_FPGA_CORTEX_M3

View File

@@ -0,0 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd-ftdi.cfg")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)

View File

@@ -0,0 +1,5 @@
board:
name: scobc_module1
vendor: Space Cubics
socs:
- name: designstart_fpga_cortex_m3

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_ARM_DESIGNSTART=y
CONFIG_SOC_ARM_DESIGNSTART_FPGA_CORTEX_M3=y
CONFIG_BOARD_SCOBC_MODULE1=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=48000000
CONFIG_ARM_MPU=n