zephyr/boards/xtensa/intel_s1000_crb/board.cmake

16 lines
474 B
CMake

# SPDX-License-Identifier: Apache-2.0
board_set_flasher_ifnset(intel_s1000)
board_set_debugger_ifnset(intel_s1000)
board_finalize_runner_args(intel_s1000
"--xt-ocd-dir=/opt/tensilica/xocd-12.0.4/xt-ocd"
"--ocd-topology=topology_dsp0_flyswatter2.xml"
"--ocd-jtag-instr=dsp0_gdb.txt"
"--gdb-flash-file=load_elf.txt"
)
if(NOT "${ZEPHYR_TOOLCHAIN_VARIANT}" STREQUAL "xcc")
message(FATAL_ERROR "ZEPHYR_TOOLCHAIN_VARIANT != xcc. This requires xcc to build!")
endif()