summaryrefslogtreecommitdiff
path: root/app/boards/shields/corne/Kconfig.defconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-10 12:58:04 -0400
committerGitHub <noreply@github.com>2020-08-10 12:58:04 -0400
commit579ca63120c7ba3df430d0c5c059140966f77bca (patch)
tree9cac33e57779866ae9f30e667923f9d964837f66 /app/boards/shields/corne/Kconfig.defconfig
parente24126a4b6abebd2b9d6232f09ab84dc675f51a4 (diff)
parent4da2070a5b896fa2c28d77f0dde8508c739d0deb (diff)
Merge pull request #80 from petejohanson/shields/corne-initial-definition
Initial Corne shield definition
Diffstat (limited to 'app/boards/shields/corne/Kconfig.defconfig')
-rw-r--r--app/boards/shields/corne/Kconfig.defconfig58
1 files changed, 58 insertions, 0 deletions
diff --git a/app/boards/shields/corne/Kconfig.defconfig b/app/boards/shields/corne/Kconfig.defconfig
new file mode 100644
index 0000000..8878da3
--- /dev/null
+++ b/app/boards/shields/corne/Kconfig.defconfig
@@ -0,0 +1,58 @@
+
+if SHIELD_CORNE_LEFT
+
+config ZMK_KEYBOARD_NAME
+ default "Corne Left"
+
+endif
+
+
+if SHIELD_CORNE_RIGHT
+
+config ZMK_KEYBOARD_NAME
+ default "Corne Right"
+
+endif
+
+if SHIELD_CORNE_LEFT || SHIELD_CORNE_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