1# SPDX-License-Identifier: Apache-2.0 2 3board_runner_args(pyocd "--target=nrf51822") 4board_runner_args(jlink "--device=nRF51822_xxAA" "--speed=4000") 5set(OPENOCD_NRF5_SUBFAMILY "nrf51") 6# Note: micro:bit DAPLink may be upgraded to J-Link OB by following the instructions at 7# https://www.segger.com/products/debug-probes/j-link/models/other-j-links/bbc-microbit-j-link-upgrade/ 8# in which case the following line should be removed to default back to "jlink" OpenOCD interface 9set(OPENOCD_NRF5_INTERFACE "cmsis-dap") 10 11include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) 12include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) 13include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 14include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake) 15