mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-10 14:51:57 +00:00
Mbed OS provides a DAPlink firmware update for nRF52840-DK here: https://os.mbed.com/platforms/Nordic-nRF52840-DK/ and for nRF52-DK here: https://os.mbed.com/platforms/Nordic-nRF52-DK/ When using this firmware we need to flash the board with the pyocd runner. Let's enable the pyocd runner for this purpose. Signed-off-by: Michael Scott <mike@foundries.io>
9 lines
380 B
CMake
9 lines
380 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(nrfjprog "--nrf-family=NRF52")
|
|
board_runner_args(jlink "--device=nrf52" "--speed=4000")
|
|
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)
|