Skip to content

Commit

Permalink
boards: lpcxpresso55Sxx: Make Jlink a default runner.
Browse files Browse the repository at this point in the history
Make Jlink a default runner for lpcxpresso55Sxx.
The LinkServer runner command line tool does not support .hex flashing.
This feature is planned for LinkServer v1.6 (July 2024).

Signed-off-by: Andrej Butok <[email protected]>
  • Loading branch information
butok authored and carlescufi committed Nov 23, 2023
1 parent c143daf commit 8495595
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion boards/arm/lpcxpresso55s06/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
board_runner_args(linkserver "--device=LPC55S06:LPCXpresso55S06")
board_runner_args(jlink "--device=LPC55S06" "--reset-after-load")

include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
2 changes: 1 addition & 1 deletion boards/arm/lpcxpresso55s16/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ board_runner_args(linkserver "--device=LPC55S16:LPCXpresso55S16")
board_runner_args(jlink "--device=LPC55S16" "--reset-after-load")
board_runner_args(pyocd "--target=lpc55s16")

include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
4 changes: 3 additions & 1 deletion boards/arm/lpcxpresso55s28/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

board_runner_args(linkserver "--device=LPC55S28:LPCXpresso55S28")
board_runner_args(pyocd "--target=lpc55s28")
board_runner_args(jlink "--device=LPC55S28" "--reset-after-load")

include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/linkserver.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
2 changes: 1 addition & 1 deletion boards/arm/lpcxpresso55s36/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ board_runner_args(linkserver "--device=LPC55S36:LPCXpresso55S36")
board_runner_args(jlink "--device=LPC55S36" "--reset-after-load")
board_runner_args(pyocd "--target=lpc55s36")

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

0 comments on commit 8495595

Please sign in to comment.