summaryrefslogtreecommitdiff
path: root/app/boards/shields/kyria/Kconfig.defconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-07-25 23:16:04 -0400
committerGitHub <noreply@github.com>2020-07-25 23:16:04 -0400
commit998f42a2ed225e1ad0e67cc1e033619622b314c4 (patch)
tree52f4abf4c3959cb9ab602e99d9aee587b3d646b8 /app/boards/shields/kyria/Kconfig.defconfig
parent91d8237cab170e16d5a9349c06d15ac6e78e14cd (diff)
parent5e96c0014a2a2a97c7363df9c74f062d0e3b806b (diff)
Merge pull request #63 from petejohanson/display/initial-lvgl-display-support
Initial display support.
Diffstat (limited to 'app/boards/shields/kyria/Kconfig.defconfig')
-rw-r--r--app/boards/shields/kyria/Kconfig.defconfig36
1 files changed, 36 insertions, 0 deletions
diff --git a/app/boards/shields/kyria/Kconfig.defconfig b/app/boards/shields/kyria/Kconfig.defconfig
index bc0a7b8..405377b 100644
--- a/app/boards/shields/kyria/Kconfig.defconfig
+++ b/app/boards/shields/kyria/Kconfig.defconfig
@@ -18,5 +18,41 @@ if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_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 64
+
+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