boards: nxp: Update NXP board cmake files for the flash loader flag

This commit updates the board cmake files for the following
NXP boards:
 - mimxrt1060_evk and mimxrt1060_evkb
 - mimxrt1050_evk_qspi

The change adds the loader information for these boards

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
This commit is contained in:
Yves Vandervennet 2022-09-19 15:45:40 -05:00 committed by Mahesh Mahadevan
parent 9a4272853e
commit bf93255d03
2 changed files with 8 additions and 0 deletions

View file

@ -7,5 +7,9 @@
board_runner_args(pyocd "--target=mimxrt1050_hyperflash")
board_runner_args(jlink "--device=MCIMXRT1052")
if(${CONFIG_BOARD_MIMXRT1050_EVK_QSPI})
board_runner_args(jlink "--loader=BankAddr=0x60000000&Loader=QSPI")
endif()
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)

View file

@ -7,5 +7,9 @@
board_runner_args(pyocd "--target=mimxrt1060")
board_runner_args(jlink "--device=MIMXRT1062xxx6A")
if ((${CONFIG_BOARD_MIMXRT1060_EVK}) OR (${CONFIG_BOARD_MIMXRT1060_EVKB}))
board_runner_args(jlink "--loader=BankAddr=0x60000000&Loader=QSPI")
endif()
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)