By default nrfjprog presumes the pin reset will be used, and helpfully enables it regardless of whether CONFIG_GPIO_PINRESET is selected or not. Stop it from doing this so the second button can be used for the application as requested. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
12 lines
430 B
CMake
12 lines
430 B
CMake
#
|
|
# Copyright (c) 2018, Peter Bigot Consulting, LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
|
|
board_runner_args(nrfjprog "--softreset")
|
|
board_runner_args(jlink "--device=nrf52" "--speed=4000")
|
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|