Skip to content

Commit 3848fb8

Browse files
yvandervnashif
authored andcommitted
boards: mimxrt1050_evk: enable linkserver support
- adds the definitions in the board.cmake file - updates documentation Signed-off-by: Yves Vandervennet <[email protected]>
1 parent 27b1f4e commit 3848fb8

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

boards/arm/mimxrt1050_evk/board.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ if(${CONFIG_BOARD_MIMXRT1050_EVK_QSPI})
1010
board_runner_args(pyocd "--target=mimxrt1050_quadspi")
1111
else()
1212
board_runner_args(pyocd "--target=mimxrt1050_hyperflash")
13+
board_runner_args(linkserver "--device=MIMXRT1052xxxxB:EVKB-IMXRT1050")
14+
include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
1315
endif()
1416

1517
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)

boards/arm/mimxrt1050_evk/doc/index.rst

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,23 @@ however the :ref:`pyocd-debug-host-tools` do not yet support programming the
322322
external flashes on this board so you must reconfigure the board for one of the
323323
following debug probes instead.
324324

325-
Option 1: :ref:`opensda-jlink-onboard-debug-probe` (Recommended)
326-
----------------------------------------------------------------
325+
Using LinkServer
326+
----------------
327+
328+
Install the :ref:`linkserver-debug-host-tools` and make sure they are in your
329+
search path. LinkServer works with the default CMSIS-DAP firmware included in
330+
the on-board debugger.
331+
332+
Linkserver is the default runner. You may also se the ``-r linkserver`` option
333+
with West to use the LinkServer runner.
334+
335+
.. code-block:: console
336+
337+
west flash
338+
west debug
339+
340+
JLink (on-board): :ref:`opensda-jlink-onboard-debug-probe`
341+
----------------------------------------------------------
327342

328343
Install the :ref:`jlink-debug-host-tools` and make sure they are in your search
329344
path.
@@ -337,8 +352,8 @@ Follow the instructions in `Enable QSPI flash support in SEGGER JLink`_
337352
in order to support your EVK if you have modified it to boot from QSPI NOR
338353
flash as specified by NXP AN12108.
339354

340-
Option 2: :ref:`jlink-external-debug-probe`
341-
-------------------------------------------
355+
External JLink :ref:`jlink-external-debug-probe`
356+
------------------------------------------------
342357

343358
Install the :ref:`jlink-debug-host-tools` and make sure they are in your search
344359
path.

0 commit comments

Comments
 (0)