This makes minichlink the default runner for the ch32v003evt. This way, `west flash` "just works", as advertised in the README, rather than having to manually set the runner to `minichlink` for it to work. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
8 lines
288 B
CMake
8 lines
288 B
CMake
# Copyright (c) 2024 Michael Hope
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(minichlink)
|
|
include(${ZEPHYR_BASE}/boards/common/minichlink.board.cmake)
|
|
|
|
board_runner_args(openocd "--use-elf" "--cmd-reset-halt" "halt")
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|