zephyr/boards/common/blackmagicprobe.board.cmake
Marti Bolivar 1717332c7a cmake: add helpers for setting board runners
This helps by letting us add checks for when the runner has already
been set. There is documentation saying you can set
-DBOARD_DEBUG_RUNNER at the command line and have it take effect,
which turns out not to be true for a large number of boards.
A status message helps the user debug.

(We'll address the existing in-tree boards in the next patch.)

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
2019-06-07 13:43:51 +02:00

6 lines
202 B
CMake

# SPDX-License-Identifier: Apache-2.0
board_set_flasher_ifnset(blackmagicprobe)
board_set_debugger_ifnset(blackmagicprobe)
board_finalize_runner_args(blackmagicprobe) # No default arguments to provide