summaryrefslogtreecommitdiff
path: root/app/boards/shields/microdox/Kconfig.defconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-10-09 15:40:50 -0400
committerGitHub <noreply@github.com>2020-10-09 15:40:50 -0400
commit05af21a334fdd13073a33308a0fdb85b9091b55f (patch)
treeca66c293e63f5697717aea4a620d67a4cf7dbf9e /app/boards/shields/microdox/Kconfig.defconfig
parente53320a687a8b402fac3ed972a776993495a2f9a (diff)
parenta695d0d3596817834f7465e029d0205fc9235499 (diff)
Merge pull request #245 from careyk007/microdox-shield
Add Microdox Shield
Diffstat (limited to 'app/boards/shields/microdox/Kconfig.defconfig')
-rw-r--r--app/boards/shields/microdox/Kconfig.defconfig60
1 files changed, 60 insertions, 0 deletions
diff --git a/app/boards/shields/microdox/Kconfig.defconfig b/app/boards/shields/microdox/Kconfig.defconfig
new file mode 100644
index 0000000..4840ece
--- /dev/null
+++ b/app/boards/shields/microdox/Kconfig.defconfig
@@ -0,0 +1,60 @@
+# Copyright (c) 2020 The ZMK Contributors
+# SPDX-License-Identifier: MIT
+
+if SHIELD_MICRODOX_LEFT
+
+config ZMK_KEYBOARD_NAME
+ default "Microdox Left"
+
+endif
+
+
+if SHIELD_MICRODOX_RIGHT
+
+config ZMK_KEYBOARD_NAME
+ default "Microdox Right"
+
+endif
+
+if SHIELD_MICRODOX_LEFT || SHIELD_MICRODOX_RIGHT
+
+config ZMK_SPLIT
+ default y
+
+if ZMK_DISPLAY
+
+config I2C
+ default y
+
+config SSD1306
+ default y
+
+config SSD1306_REVERSE_MODE
+ default y
+
+endif # ZMK_DISPLAY
+
+if LVGL
+
+config LVGL_HOR_RES
+ default 128
+
+config LVGL_VER_RES
+ default 32
+
+config LVGL_VDB_SIZE
+ default 64
+
+config LVGL_DPI
+ default 148
+
+config LVGL_BITS_PER_PIXEL
+ default 1
+
+choice LVGL_COLOR_DEPTH
+ default LVGL_COLOR_DEPTH_1
+endchoice
+
+endif # LVGL
+
+endif