Skip to content

Commit

Permalink
boards: arm: LPC55Sx6: Enable LinkServer and PyOCD runners.
Browse files Browse the repository at this point in the history
Enable LinkerServer and PyOCD runners for LPC55Sx6 EVKs,
where it is supported.
It was tested on a real HW.

Signed-off-by: Andrej Butok <[email protected]>
  • Loading branch information
butok authored and carlescufi committed Nov 16, 2023
1 parent 47ad8f0 commit 3b5fd5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions boards/arm/lpcxpresso55s06/board.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#
# Copyright (c) 2022 metraTec
# Copyright 2023 NXP
#
# SPDX-License-Identifier: Apache-2.0
#

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)
5 changes: 5 additions & 0 deletions boards/arm/lpcxpresso55s16/board.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#
# Copyright (c) 2020 Henrik Brix Andersen <[email protected]>
# Copyright 2023 NXP
#
# SPDX-License-Identifier: Apache-2.0
#

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/pyocd.board.cmake)
4 changes: 3 additions & 1 deletion boards/arm/lpcxpresso55s36/board.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#
# Copyright 2022 NXP
# Copyright 2022-2023 NXP
#
# SPDX-License-Identifier: Apache-2.0
#

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/pyocd.board.cmake)

0 comments on commit 3b5fd5f

Please sign in to comment.