From 22fc96a14f08c210dfa2994e6fb4fed4869dfd95 Mon Sep 17 00:00:00 2001 From: Minty Harshit Date: Mon, 5 Jul 2021 10:26:14 +0530 Subject: [PATCH] pteron36 update --- app/boards/shields/pteron36/Kconfig.defconfig | 36 +++++++++++++++++++ app/boards/shields/pteron36/pteron36.conf | 1 + 2 files changed, 37 insertions(+) diff --git a/app/boards/shields/pteron36/Kconfig.defconfig b/app/boards/shields/pteron36/Kconfig.defconfig index 142f2e26..9be3bdbf 100644 --- a/app/boards/shields/pteron36/Kconfig.defconfig +++ b/app/boards/shields/pteron36/Kconfig.defconfig @@ -20,4 +20,40 @@ if SHIELD_PTERON36_LEFT || SHIELD_PTERON36_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_MAX + default 128 + +config LVGL_VER_RES_MAX + 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 \ No newline at end of file diff --git a/app/boards/shields/pteron36/pteron36.conf b/app/boards/shields/pteron36/pteron36.conf index e69de29b..e5700d94 100644 --- a/app/boards/shields/pteron36/pteron36.conf +++ b/app/boards/shields/pteron36/pteron36.conf @@ -0,0 +1 @@ +CONFIG_ZMK_DISPLAY=y \ No newline at end of file