summaryrefslogtreecommitdiff
path: root/app/boards/arm/nrf52840_m2/Kconfig.defconfig
diff options
context:
space:
mode:
authorMubeen Khan <mubeen@mubeen.co>2020-10-10 16:32:16 -0500
committerGitHub <noreply@github.com>2020-10-10 16:32:16 -0500
commit4fd6c14ae93ab1b2db1a6a4fac5df4a595a041bf (patch)
tree064f9890c09322b432cf104d080b0385bbaf1c43 /app/boards/arm/nrf52840_m2/Kconfig.defconfig
parent16df1522c282343c3350402360db918a9a1b66e5 (diff)
parentfc6c01fd6941ec795710d66ead9e17d5dfbaa19d (diff)
Merge pull request #4 from zmkfirmware/main
make even with main
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