2020-11-23 23:30:08 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
set (OPENOCD_NRF5_SUBFAMILY "nrf52")
|
2022-03-24 22:41:11 +08:00
|
|
|
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
|
2020-11-23 23:30:08 +08:00
|
|
|
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)
|
|
|
|
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
|