Skip to content

Commit 5ab62a4

Browse files
danieldegrassemmahadevan108
authored andcommitted
boards: mimxrt1160_evk_cm4: enable standalone debugging
Enable standalone debugging of secondary CM4 core on MIMXRT1160 EVK. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 2fbb9e6 commit 5ab62a4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

boards/arm/mimxrt1160_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_MIMXRT1166_CM7)
78
board_runner_args(pyocd "--target=mimxrt1160_cm7")
89
board_runner_args(jlink "--device=MIMXRT1166xxx6_M7" "--reset-after-load")
10+
endif()
11+
12+
if(CONFIG_SOC_MIMXRT1166_CM4)
13+
board_runner_args(pyocd "--target=mimxrt1160_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=MIMXRT1166xxx6_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)