zephyr/boards/nxp/mimxrt1050_evk/board.cmake

19 lines
613 B
CMake

#
# Copyright 2017, 2024 NXP
#
# SPDX-License-Identifier: Apache-2.0
#
board_runner_args(jlink "--device=MCIMXRT1052")
if("${BOARD_REVISION}" STREQUAL "qspi")
board_runner_args(jlink "--loader=BankAddr=0x60000000&Loader=QSPI")
board_runner_args(pyocd "--target=mimxrt1050_quadspi")
else()
board_runner_args(pyocd "--target=mimxrt1050_hyperflash")
board_runner_args(linkserver "--device=MIMXRT1052xxxxB:EVKB-IMXRT1050")
include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
endif()
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)