You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
463 B
17 lines
463 B
# Copyright 2023 NXP |
|
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
board_runner_args(trace32 |
|
"--startup-args" |
|
"elfFile=${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME}" |
|
) |
|
if(${CONFIG_XIP}) |
|
board_runner_args(trace32 "loadTo=flash") |
|
else() |
|
board_runner_args(trace32 "loadTo=sram") |
|
endif() |
|
|
|
board_runner_args(jlink "--device=S32K344" "--reset-after-load") |
|
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
|
include(${ZEPHYR_BASE}/boards/common/trace32.board.cmake)
|
|
|