summaryrefslogtreecommitdiff
path: root/app/boards/arm/nrf52840_m2/board.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'app/boards/arm/nrf52840_m2/board.cmake')
-rw-r--r--app/boards/arm/nrf52840_m2/board.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/boards/arm/nrf52840_m2/board.cmake b/app/boards/arm/nrf52840_m2/board.cmake
new file mode 100644
index 0000000..55b44e2
--- /dev/null
+++ b/app/boards/arm/nrf52840_m2/board.cmake
@@ -0,0 +1,9 @@
+#
+# Copyright (c) 2020 The ZMK Contributors
+# SPDX-License-Identifier: MIT
+#
+
+board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
+
+include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
+include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)