summaryrefslogtreecommitdiff
path: root/app/boards/shields/sofle/Kconfig.defconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-01 14:39:05 -0400
committerGitHub <noreply@github.com>2020-09-01 14:39:05 -0400
commitc80b0a754b4b31cf303c2c9a26c51c72e56b0208 (patch)
tree213484fe8b99fc69005fb542f9ae449760deae02 /app/boards/shields/sofle/Kconfig.defconfig
parent4202db5a01e04e2e403941f40aea47a11f668853 (diff)
parentca0f2bb074a103b871a3e0f7f5e1fed8b6b4069b (diff)
Merge pull request #118 from CrossR/CrossR/Sofle
Add Sofle Keyboard
Diffstat (limited to 'app/boards/shields/sofle/Kconfig.defconfig')
-rw-r--r--app/boards/shields/sofle/Kconfig.defconfig54
1 files changed, 54 insertions, 0 deletions
diff --git a/app/boards/shields/sofle/Kconfig.defconfig b/app/boards/shields/sofle/Kconfig.defconfig
new file mode 100644
index 0000000..58d8217
--- /dev/null
+++ b/app/boards/shields/sofle/Kconfig.defconfig
@@ -0,0 +1,54 @@
+# Copyright (c) 2020 Ryan Cross
+# SPDX-License-Identifier: MIT
+
+if SHIELD_SOFLE_LEFT
+
+config ZMK_KEYBOARD_NAME
+ default "Sofle Left"
+endif
+
+if SHIELD_SOFLE_RIGHT
+
+config ZMK_KEYBOARD_NAME
+ default "Sofle Right"
+endif
+
+if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT
+
+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