aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/boards/arm/mikoto/Kconfig.defconfig
diff options
context:
space:
mode:
authorHai-Ninh Dang <[email protected]>2021-11-09 12:57:24 +0700
committerGitHub <[email protected]>2021-11-09 00:57:24 -0500
commitf2e0642291621611f3abce69f73a22c33b1ce801 (patch)
treeb19c681188373e28fc7e03b9f8366a99c11a5d96 /app/boards/arm/mikoto/Kconfig.defconfig
parent944f93170454008759200a27a11225da40935edf (diff)
downloadzmk-f2e0642291621611f3abce69f73a22c33b1ce801.tar.gz
zmk-f2e0642291621611f3abce69f73a22c33b1ce801.zip
feat(boards): Add Mikoto board
* Supports selecting from several possible charge currents Co-authored-by: Pete Johanson <[email protected]>
Diffstat (limited to 'app/boards/arm/mikoto/Kconfig.defconfig')
-rw-r--r--app/boards/arm/mikoto/Kconfig.defconfig40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/boards/arm/mikoto/Kconfig.defconfig b/app/boards/arm/mikoto/Kconfig.defconfig
new file mode 100644
index 0000000000..2ca77b9e62
--- /dev/null
+++ b/app/boards/arm/mikoto/Kconfig.defconfig
@@ -0,0 +1,40 @@
+# Electronut Labs Papyr board configuration
+
+# Copyright (c) 2020 The ZMK Contributors
+# SPDX-License-Identifier: MIT
+
+if BOARD_MIKOTO_520
+
+config BOARD
+ default "mikoto"
+
+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
+
+config PINMUX
+ default y
+
+choice BOARD_MIKOTO_CHARGER_CURRENT
+ default BOARD_MIKOTO_CHARGER_CURRENT_100MA
+endchoice
+
+config ZMK_BATTERY_VOLTAGE_DIVIDER
+ default y
+
+endif # BOARD_MIKOTO_520