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:
committed by
Carles Cufi
parent
d5473b76fe
commit
8053c3a8df
@@ -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()
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_SCOBC_MODULE1
|
||||
|
||||
config BOARD
|
||||
default "scobc_module1"
|
||||
|
||||
config CPU_CORTEX_M_HAS_SYSTICK
|
||||
default y
|
||||
|
||||
@@ -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
|
||||
5
boards/space_cubics/scobc_module1/board.cmake
Normal file
5
boards/space_cubics/scobc_module1/board.cmake
Normal 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)
|
||||
5
boards/space_cubics/scobc_module1/board.yml
Normal file
5
boards/space_cubics/scobc_module1/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: scobc_module1
|
||||
vendor: Space Cubics
|
||||
socs:
|
||||
- name: designstart_fpga_cortex_m3
|
||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user