From 661161cd89ba0175bffcbab577eda78ed687b34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 4 Dec 2024 12:53:43 +0100 Subject: [PATCH] boards: wch: make minichlink default runner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- boards/wch/ch32v003evt/board.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/wch/ch32v003evt/board.cmake b/boards/wch/ch32v003evt/board.cmake index 1e0edfa1879..41ee69473bf 100644 --- a/boards/wch/ch32v003evt/board.cmake +++ b/boards/wch/ch32v003evt/board.cmake @@ -1,8 +1,8 @@ # Copyright (c) 2024 Michael Hope # SPDX-License-Identifier: Apache-2.0 -board_runner_args(openocd "--use-elf" "--cmd-reset-halt" "halt") -include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) - 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)