2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-11-29 05:23:51 +08:00
|
|
|
set(OPENOCD_USE_LOAD_IMAGE NO)
|
2019-04-18 04:39:16 +08:00
|
|
|
|
|
|
|
if(CONFIG_SOC_OPENISA_RV32M1_RI5CY)
|
|
|
|
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_rv32m1_vega_ri5cy.cfg")
|
|
|
|
elseif(CONFIG_SOC_OPENISA_RV32M1_ZERO_RISCY)
|
|
|
|
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_rv32m1_vega_zero_riscy.cfg")
|
|
|
|
endif()
|
|
|
|
|
2018-11-29 05:23:51 +08:00
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|