Skip to content

Commit f18df29

Browse files
lucien-nxpMaureenHelm
authored andcommitted
boards: arm: mimxrt1170_evk: Add rt1170_cm4 core debug way
Add cm4 core debug way into board.cmake Signed-off-by: Lucien Zhao <[email protected]>
1 parent e3c6538 commit f18df29

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

boards/arm/mimxrt1170_evk/board.cmake

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7+
if(CONFIG_SOC_MIMXRT1176_CM7)
78
board_runner_args(pyocd "--target=mimxrt1170_cm7")
89
board_runner_args(jlink "--device=MIMXRT1176xxxA_M7" "--reset-after-load")
10+
endif()
11+
12+
if(CONFIG_SOC_MIMXRT1176_CM4)
13+
board_runner_args(pyocd "--target=mimxrt1170_cm4")
14+
# Note: Please use JLINK above V7.50 (Only support run cm4 image when debugging due to default boot core on board is cm7 core)
15+
board_runner_args(jlink "--device=MIMXRT1176xxxA_M4")
16+
endif()
917

1018
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
1119
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

0 commit comments

Comments
 (0)