Skip to content

Commit

Permalink
boards: nxp: Update NXP board cmake files for the flash loader flag
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
yvanderv authored and mmahadevan108 committed Sep 21, 2022
1 parent 9a42728 commit bf93255
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/arm/mimxrt1050_evk/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 4 additions & 0 deletions boards/arm/mimxrt1060_evk/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit bf93255

Please sign in to comment.