cd6c36d7b4
If ARM semihosting is selected, automatically enable the pyOCD feature. This way the console output is directly available on the telnet port. Signed-off-by: Casper Meijn <casper@meijn.net>
9 lines
234 B
CMake
9 lines
234 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_set_flasher_ifnset(pyocd)
|
|
board_set_debugger_ifnset(pyocd)
|
|
if(CONFIG_SEMIHOST_CONSOLE)
|
|
board_runner_args(pyocd "--tool-opt=-S")
|
|
endif()
|
|
board_finalize_runner_args(pyocd "--dt-flash=y")
|