Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off display setting #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 24 additions & 27 deletions config/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,32 @@ config USB_DEVICE_STACK

endif # USB

# Disable Display Support
config ZMK_DISPLAY
select LV_USE_CONT
select LV_FONT_MONTSERRAT_26
select LV_FONT_MONTSERRAT_16
select LV_USE_LABEL
select LV_USE_IMG

choice ZMK_DISPLAY_STATUS_SCREEN
default ZMK_DISPLAY_STATUS_SCREEN_CUSTOM
endchoice

if ZMK_DISPLAY

config SPI
default y

config IL0323
default y

config ZMK_DISPLAY_BLANK_ON_IDLE
default n
# Needed for the IL0323 driver which allocs memory to clear the display
config HEAP_MEM_POOL_SIZE
default 1024

config LV_Z_MEM_POOL_SIZE
default 4096

endif # ZMK_DISPLAY

# Remove or disable display-related settings
# Remove this entire block
# if ZMK_DISPLAY
#
# config SPI
# default y
#
# config IL0323
# default y
#
# config ZMK_DISPLAY_BLANK_ON_IDLE
# default n
# # Needed for the IL0323 driver which allocs memory to clear the display
# config HEAP_MEM_POOL_SIZE
# default 1024
#
# config LV_Z_MEM_POOL_SIZE
# default 4096
#
# endif # ZMK_DISPLAY

# Remove or disable custom widgets if they are related to display
menuconfig CUSTOM_WIDGET_BATTERY_STATUS
bool "custom battery status widget"

Expand All @@ -85,3 +81,4 @@ config BQ274XX
default y

endif # BOARD_CORNEISH_ZEN_V1_LEFT || BOARD_CORNEISH_ZEN_V1_RIGHT