Allow the user to define a custom display buffer size
This commit is contained in:
parent
ed013cb14f
commit
82336c2120
2 changed files with 16 additions and 1 deletions
|
@ -328,6 +328,18 @@ menu "LVGL TFT Display controller"
|
|||
select LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||
endchoice
|
||||
|
||||
config CUSTOM_DISPLAY_BUFFER_SIZE
|
||||
bool "Use custom display buffer size (bytes)"
|
||||
help
|
||||
Enable to use a custom display buffer size.
|
||||
|
||||
config CUSTOM_DISPLAY_BUFFER_BYTES
|
||||
int "Custom buffer size (bytes)"
|
||||
depends on CUSTOM_DISPLAY_BUFFER_SIZE
|
||||
default 1024
|
||||
help
|
||||
See Display buffer on LVGL docs for more information.
|
||||
|
||||
# Select one of the available FT81x configurations.
|
||||
choice
|
||||
prompt "Select a FT81x configuration." if LV_TFT_DISPLAY_USER_CONTROLLER_FT81X
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue