mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 03:51:57 +00:00
Now when ARC development boards are switched to generic OpenOCD runner we need to explicitly instruct the runner to load Elf but not binary image (which is a default for OpenOCD runner). This might be done either manually adding "--use-elf" option to west's command line or that might be added by default fro affected boards, which we do exactly now. Fixes https://github.com/zephyrproject-rtos/zephyr/issues/22888. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
5 lines
136 B
CMake
5 lines
136 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(openocd "--use-elf")
|
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|