summaryrefslogtreecommitdiff
path: root/app/boards/shields/nibble/Kconfig.defconfig
diff options
context:
space:
mode:
authorKemoNine <mcrosson@users.noreply.github.com>2021-02-04 11:28:02 -0500
committerGitHub <noreply@github.com>2021-02-04 10:28:02 -0600
commit0499e7e8ac8cacb535973e32e6824e5808ee0a16 (patch)
treefba7a3ed6889657629e0341814e0cd3ab21160fc /app/boards/shields/nibble/Kconfig.defconfig
parente40ca1eb7c7bfae09c16344c478b10b0ab22b3f1 (diff)
Refactor nibble / update to match build docs (#620)
* feat(nibble): add underglow support for nice_nano builds * feat(nibble): add encoder to top, left most column to match standard assembly documentation * refactor(nibble): add layer labels * feat(nibble): add support for optional display ; off by default * feat(nibble): add README * fix(nibble): adjust oled rotation for easier reading * fix(nibble): add additional note about enabling oled * refactor(nibble): convert keymap to use tabs instead of spaces * refactor(nibble): enable oled in dts/overlay by default * refactor(nibble): cleanup alignment and formatting in nibble keymap * refactor(nibble): re-align top most row of keymap to be sensible * refactor(nibble): cleanup kscan map alignment * refactor(nibble): indent first row of map/transform to properly align with physical columns * fix(nibble): remove dangling code block from readme Co-authored-by: KemoNine <mcrosson@kemonine.info>
Diffstat (limited to 'app/boards/shields/nibble/Kconfig.defconfig')
-rw-r--r--app/boards/shields/nibble/Kconfig.defconfig35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/boards/shields/nibble/Kconfig.defconfig b/app/boards/shields/nibble/Kconfig.defconfig
index 01d0bba..22ef1c6 100644
--- a/app/boards/shields/nibble/Kconfig.defconfig
+++ b/app/boards/shields/nibble/Kconfig.defconfig
@@ -11,3 +11,38 @@ config ZMK_USB
endif
+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