summaryrefslogtreecommitdiff
path: root/app/boards/arm/nrf52840_m2/Kconfig.defconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-10-05 09:29:30 -0400
committerGitHub <noreply@github.com>2020-10-05 09:29:30 -0400
commitfebf2f485df883ef0a025f674f4489042775dcba (patch)
tree48a45cbf9929a86d88c4b5bc0c4ffa9aaa9e9327 /app/boards/arm/nrf52840_m2/Kconfig.defconfig
parent7d222e15530f2aa634e9cc11e7af3875dd042e97 (diff)
parentb8cb5f939a3c018af13de7727c15d7765ea1f1c1 (diff)
Merge pull request #233 from megamind4089/m60
Shield and board definitions for M60
Diffstat (limited to 'app/boards/arm/nrf52840_m2/Kconfig.defconfig')
-rw-r--r--app/boards/arm/nrf52840_m2/Kconfig.defconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/boards/arm/nrf52840_m2/Kconfig.defconfig b/app/boards/arm/nrf52840_m2/Kconfig.defconfig
new file mode 100644
index 0000000..98fcd08
--- /dev/null
+++ b/app/boards/arm/nrf52840_m2/Kconfig.defconfig
@@ -0,0 +1,30 @@
+#
+# Copyright (c) 2020 The ZMK Contributors
+# SPDX-License-Identifier: MIT
+#
+
+if BOARD_NRF52840_M2
+
+config BOARD
+ default "nrf52480_m2"
+
+if USB
+
+config USB_NRFX
+ default y
+
+config USB_DEVICE_STACK
+ default y
+
+endif # USB
+
+config BT_CTLR
+ default BT
+
+config ZMK_BLE
+ default y
+
+config ZMK_USB
+ default y
+
+endif # BOARD_NRF52840_M2