f9f2da2404
Port the custom_plank example out-of-tree board to HWMv2. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
13 lines
481 B
CMake
13 lines
481 B
CMake
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(jlink "--device=nrf52" "--speed=4000")
|
|
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
|
|
|
|
set(OPENOCD_NRF5_SUBFAMILY "nrf52")
|
|
|
|
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)
|