1# SPDX-License-Identifier: Apache-2.0 2 3board_runner_args(pyocd "--target=nrf52833") 4board_runner_args(nrfjprog "--nrf-family=NRF52") 5board_runner_args(jlink "--device=nRF52833_xxAA" "--speed=4000") 6set(OPENOCD_NRF5_SUBFAMILY "nrf52") 7# Note: micro:bit v2 DAPLink may be upgraded to J-Link OB by following the instructions at 8# https://www.segger.com/products/debug-probes/j-link/models/other-j-links/bbc-microbit-j-link-upgrade/ 9# in which case the following line should be removed to default back to "jlink" OpenOCD interface 10set(OPENOCD_NRF5_INTERFACE "cmsis-dap") 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