summaryrefslogtreecommitdiff
path: root/app/boards/arm/nrf52840_m2/board.cmake
diff options
context:
space:
mode:
authorMega Mind <68985133+megamind4089@users.noreply.github.com>2020-10-01 23:57:16 +0800
committerMega Mind <68985133+megamind4089@users.noreply.github.com>2020-10-05 21:23:38 +0800
commitc54decd1443a41bd68905256db6286d51324c8e4 (patch)
treeec87212399f74d368ba3f6824720771303c0ecf2 /app/boards/arm/nrf52840_m2/board.cmake
parent7d222e15530f2aa634e9cc11e7af3875dd042e97 (diff)
Added Makerdiary M.2 module
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..f521e2c
--- /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/blackmagicprobe.board.cmake)
+include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)