Skip to content

Commit

Permalink
fix(display): Tweaks to memory Kconfig settings.
Browse files Browse the repository at this point in the history
* Don't default heap mempool by default now that there's a dedicated
  LVGL mempool
* Set proper defaults for CiZ display hardware/custom screen.
  • Loading branch information
petejohanson committed Feb 5, 2024
1 parent 56ee7ac commit d8f9d03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,6 @@ endmenu
#ZMK
endmenu

config HEAP_MEM_POOL_SIZE
default 8192 if ZMK_DISPLAY

config KERNEL_BIN_NAME
default "zmk"

Expand Down
7 changes: 7 additions & 0 deletions app/boards/arm/corneish_zen/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ config IL0323
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 10

config LV_Z_MEM_POOL_SIZE
default 4096

endif # ZMK_DISPLAY

menuconfig CUSTOM_WIDGET_BATTERY_STATUS
Expand Down

0 comments on commit d8f9d03

Please sign in to comment.