2021-12-14 10:07:21 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
set(OPENOCD_NRF5_SUBFAMILY "nrf52")
|
|
|
|
board_runner_args(nrfjprog "--nrf-family=NRF52")
|
2022-03-24 22:41:11 +08:00
|
|
|
board_runner_args(jlink "--device=nRF52832_xxAA" "--speed=4000")
|
2022-03-25 22:50:19 +08:00
|
|
|
board_runner_args(pyocd "--target=nrf52832" "--frequency=4000000")
|
2021-12-14 10:07:21 +08:00
|
|
|
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)
|