2023-07-28 21:46:31 +08:00
|
|
|
# Copyright (c) 2023 Fabian Blatz <fabianblatz@gmail.com>
|
2023-08-17 00:01:32 +08:00
|
|
|
# Copyright 2023 NXP
|
2023-07-28 21:46:31 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config ZEPHYR_LVGL_MODULE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config LVGL
|
|
|
|
bool "LVGL support"
|
|
|
|
help
|
|
|
|
This option enables the LVGL graphics library.
|
|
|
|
|
|
|
|
if LVGL
|
|
|
|
|
|
|
|
config LV_USE_MONKEY
|
|
|
|
bool
|
|
|
|
|
|
|
|
config LV_DPI_DEF
|
|
|
|
int
|
|
|
|
|
|
|
|
config LV_CONF_SKIP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config APP_LINK_WITH_LVGL
|
|
|
|
bool "Link 'app' with LVGL"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Add LVGL header files to the 'app' include path. It may be
|
|
|
|
disabled if the include paths for LVGL are causing aliasing
|
|
|
|
issues for 'app'.
|
|
|
|
|
|
|
|
config LV_Z_USE_FILESYSTEM
|
|
|
|
bool "LVGL file system support"
|
|
|
|
depends on FILE_SYSTEM
|
|
|
|
default y if FILE_SYSTEM
|
|
|
|
help
|
|
|
|
Enable LittlevGL file system
|
|
|
|
|
|
|
|
choice LV_COLOR_DEPTH
|
|
|
|
default LV_COLOR_DEPTH_16
|
|
|
|
prompt "Color depth (bits per pixel)"
|
|
|
|
|
|
|
|
config LV_COLOR_DEPTH_32
|
|
|
|
bool "32: ARGB8888"
|
|
|
|
config LV_COLOR_DEPTH_16
|
|
|
|
bool "16: RGB565"
|
|
|
|
config LV_COLOR_DEPTH_8
|
|
|
|
bool "8: RGB232"
|
|
|
|
config LV_COLOR_DEPTH_1
|
|
|
|
bool "1: monochrome"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LV_COLOR_16_SWAP
|
|
|
|
bool
|
|
|
|
|
2023-08-17 00:01:32 +08:00
|
|
|
config LV_Z_FLUSH_THREAD
|
|
|
|
bool "Flush LVGL frames in a separate thread"
|
|
|
|
help
|
|
|
|
Flush LVGL frames in a separate thread, while the primary thread
|
|
|
|
renders the next LVGL frame. Can be disabled if the performance
|
|
|
|
gain this approach offers is not required
|
|
|
|
|
|
|
|
if LV_Z_FLUSH_THREAD
|
|
|
|
|
|
|
|
config LV_Z_FLUSH_THREAD_STACK_SIZE
|
|
|
|
int "Stack size for flushing thread"
|
|
|
|
default 1024
|
|
|
|
help
|
|
|
|
Stack size for LVGL flush thread, which will call display_write
|
|
|
|
|
|
|
|
config LV_Z_FLUSH_THREAD_PRIO
|
|
|
|
int "LVGL flush thread priority"
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Cooperative priority of LVGL flush thread.
|
|
|
|
|
|
|
|
endif # LV_Z_FLUSH_THREAD
|
|
|
|
|
2023-07-28 21:46:31 +08:00
|
|
|
rsource "Kconfig.memory"
|
|
|
|
rsource "Kconfig.input"
|
|
|
|
rsource "Kconfig.shell"
|
|
|
|
|
|
|
|
|
|
|
|
endif
|