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