diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-24 22:08:31 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-25 23:10:40 -0400 |
commit | 2ca6c21027027c2d30d22bb7cc26397e460fa384 (patch) | |
tree | ca5dc94965e3344828755574537029a6ede4f2eb /app/boards/shields/lily58/Kconfig.defconfig | |
parent | d80063ff513969f622a6cffd1a9d074ccc3cfa24 (diff) |
Add the Lily58 OLED.
Diffstat (limited to 'app/boards/shields/lily58/Kconfig.defconfig')
-rw-r--r-- | app/boards/shields/lily58/Kconfig.defconfig | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/boards/shields/lily58/Kconfig.defconfig b/app/boards/shields/lily58/Kconfig.defconfig index 8f278b0..e4bd8da 100644 --- a/app/boards/shields/lily58/Kconfig.defconfig +++ b/app/boards/shields/lily58/Kconfig.defconfig @@ -12,3 +12,40 @@ config ZMK_KEYBOARD_NAME default "Lily58 Right" endif + +if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT + +if ZMK_DISPLAY + +config I2C + default y + +config SSD1306 + 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 |