nuttx-apps/examples/lvgldemo/Kconfig

76 lines
1.7 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig EXAMPLES_LVGLDEMO
tristate "LVGL Demo"
default n
---help---
Enable build the Light and Versatile Graphics Library Demo programs
if EXAMPLES_LVGLDEMO
config EXAMPLES_LVGLDEMO_CALIBRATE
bool "Calibrate touchscreen"
default y
---help---
Calibrate touchscreen before demo start, but some touchscreen
don't need it, like capacitive touchscreen.
config EXAMPLES_LVGLDEMO_BUFF_SIZE
int "Display buffer size (in line)"
default 20
choice
prompt "Select a demo application"
default EXAMPLES_LVGLDEMO_WIDGETS
config EXAMPLES_LVGLDEMO_BENCHMARK
bool "Benchmark"
config EXAMPLES_LVGLDEMO_PRINTER
bool "Printer"
---help---
This demo is optimized for 800 * 480 resolution
config EXAMPLES_LVGLDEMO_STRESS
bool "Stress"
config EXAMPLES_LVGLDEMO_WIDGETS
bool "Widgets"
endchoice
config EXAMPLES_LVGLDEMO_PRIORITY
int "lvgl task priority"
default 100
config EXAMPLES_LVGLDEMO_STACKSIZE
int "lvgldemo stack size"
default 16384
config EXAMPLES_LGVLDEMO_MINOR
int "Touchscreen minor device number"
default 0
---help---
The minor device number. Minor=N corresponds to touchscreen device
/dev/inputN. Note this value must with EXAMPLES_LGVLDEMO_DEVPATH.
Default 0.
config EXAMPLES_LGVLDEMO_DEVPATH
string "Touchscreen device path"
default "/dev/input0"
---help---
The path to the touchscreen device. This must be consistent with
EXAMPLES_LGVLDEMO_MINOR. Default: "/dev/input0"
config EXAMPLES_LGVLDEMO_MOUSE
bool "Mouse interface"
default n
---help---
The LittleVGL demo can also be configured to work with a mouse
driver by setting this option.
endif