1# Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4board_runner_args(openocd --cmd-pre-init "source [find target/gd32vf103.cfg]")
5
6board_runner_args(openocd "--cmd-pre-load=gd32vf103-pre-load")
7board_runner_args(openocd "--cmd-load=gd32vf103-load")
8board_runner_args(openocd "--cmd-post-verify=gd32vf103-post-verify")
9board_runner_args(dfu-util "--pid=28e9:0189" "--alt=0" "--dfuse")
10
11include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
12include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake)
13