Skip to content
Permalink
Browse files

boards: match specified jlink swd speed when using pyocd runner

Match the speed speficied for all boards using the jlink runner when
using the pyocd runner on the same board.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
  • Loading branch information...
henrikbrixandersen authored and MaureenHelm committed Jun 30, 2019
1 parent d80d181 commit f39f234d07bc7e333c1191457eae6dc6e69bb9eb
@@ -2,7 +2,7 @@

board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
board_runner_args(pyocd "--target=nrf52840")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
@@ -2,7 +2,7 @@

board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
board_runner_args(pyocd "--target=nrf52")
board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
@@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0

board_runner_args(pyocd "--target=nrf52840")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
@@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: Apache-2.0

board_runner_args(pyocd "--target=nrf52840")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
@@ -4,7 +4,7 @@
#
# SPDX-License-Identifier: Apache-2.0

board_runner_args(pyocd "--target=nrf52840")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: Apache-2.0

board_runner_args(pyocd "--target=nrf52")
board_runner_args(pyocd "--target=nrf52" "--frequency=4000000")
board_runner_args(jlink "--device=nrf52" "--speed=4000")
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

board_runner_args(jlink "--device=MKW24D512xxx5" "--speed=4000")
board_runner_args(pyocd "--target=kw24d5")
board_runner_args(pyocd "--target=kw24d5" "--frequency=4000000")

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

0 comments on commit f39f234

Please sign in to comment.
You can’t perform that action at this time.