Browse Source
Nordic has a new tool, nRF Util (`nrfutil`) which is replacing the previous set of command-line tools (particularly `nrfjprog`) that Zephyr had been using by default in many of the boards to flash the firmware onto the device. Since nRF Util is already mature and is going to be replacing the existing tools, including `nrfjprog`, it is now a good time to change the default flash tool to reflect this fact. Note that `nrfjprog` support is not being removed at all, but this may be a breaking change for users that do not have nRF Util installed. For this reason we also add a note in the migration guide. More info: https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-util-unified-command-line-utility Installation: https://www.nordicsemi.com/Products/Development-tools/nrf-util Documentation: https://docs.nordicsemi.com/bundle/nrfutil/page/README.html Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>pull/85182/head
84 changed files with 97 additions and 17 deletions
@ -1,5 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,5 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,5 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,5 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,5 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
board_runner_args(jlink "--device=nRF9160_xxAA" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,4 +1,5 @@ |
|||||||
board_runner_args(nrfjprog "--softreset") |
board_runner_args(nrfjprog "--softreset") |
||||||
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000") |
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,7 +1,7 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000") |
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000") |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
|
||||||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake) |
||||||
|
@ -1,6 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000") |
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000") |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
|
||||||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
@ -1,5 +1,6 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000") |
board_runner_args(jlink "--device=nRF51822_xxAC" "--speed=4000") |
||||||
|
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) |
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
||||||
|
Loading…
Reference in new issue