1# Copyright 2023 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4board_runner_args(jlink 5 "--device=S32K146" 6 "--speed=4000" 7 "--iface=swd" 8 "--reset" 9) 10 11board_runner_args(trace32 12 "--startup-args" "elfFile=${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME}" 13) 14if(${CONFIG_XIP}) 15 board_runner_args(trace32 "loadTo=flash") 16else() 17 board_runner_args(trace32 "loadTo=sram") 18endif() 19 20include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 21include(${ZEPHYR_BASE}/boards/common/trace32.board.cmake) 22