Browse Source

boards: nxp: mimxrt1170_evk: Added --no-reset flag

Updated board.cmake to check for single
image builds to indicate rather an additional
reset is needed for cases such as sysbuild.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
pull/92716/head
Emilio Benavente 1 month ago committed by Dan Kalowsky
parent
commit
3369d84668
  1. 7
      boards/nxp/mimxrt1170_evk/board.cmake

7
boards/nxp/mimxrt1170_evk/board.cmake

@ -6,7 +6,7 @@
if(CONFIG_SOC_MIMXRT1176_CM7 OR CONFIG_SECOND_CORE_MCUX) if(CONFIG_SOC_MIMXRT1176_CM7 OR CONFIG_SECOND_CORE_MCUX)
board_runner_args(pyocd "--target=mimxrt1170_cm7") board_runner_args(pyocd "--target=mimxrt1170_cm7")
board_runner_args(jlink "--device=MIMXRT1176xxxA_M7" "--reset-after-load") board_runner_args(jlink "--device=MIMXRT1176xxxA_M7")
# ITCM is not defined in RT1170's LinkServer device file # ITCM is not defined in RT1170's LinkServer device file
board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x00000000\",\ board_runner_args(linkserver "--override=/device/memory/-=\{\"location\":\"0x00000000\",\
\"size\":\"0x00040000\",\"type\":\"RAM\"\}") \"size\":\"0x00040000\",\"type\":\"RAM\"\}")
@ -30,6 +30,11 @@ elseif(CONFIG_SOC_MIMXRT1176_CM4)
board_runner_args(linkserver "--core=cm4") board_runner_args(linkserver "--core=cm4")
endif() endif()
if(NOT SYSBUILD)
board_runner_args(jlink "--no-reset")
board_runner_args(linkserver "--no-reset")
endif()
include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake) include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

Loading…
Cancel
Save