2018-01-16 22:35:55 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig EXAMPLES_LVGLDEMO
|
2020-06-17 10:50:05 +02:00
|
|
|
tristate "LVGL Demo"
|
2018-01-16 22:35:55 +01:00
|
|
|
default n
|
|
|
|
---help---
|
2020-06-17 10:50:05 +02:00
|
|
|
Enable build the Light and Versatile Graphics Library Demo programs
|
2018-01-16 22:35:55 +01:00
|
|
|
|
|
|
|
if EXAMPLES_LVGLDEMO
|
|
|
|
|
2020-06-10 05:12:59 +02:00
|
|
|
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.
|
|
|
|
|
2020-06-17 10:50:05 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_BUFF_SIZE
|
|
|
|
int "Display buffer size (in line)"
|
|
|
|
default 20
|
|
|
|
|
2021-04-05 15:03:18 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_DOUBLE_BUFFERING
|
|
|
|
bool "Enable double buffering"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
When double buffering is enabled, LVGL expects the size of both
|
|
|
|
buffers as:
|
|
|
|
CONFIG_LV_HOR_RES * CONFIG_EXAMPLES_LVGLDEMO_BUFF_SIZE.
|
|
|
|
True double buffering support is enabled if both buffers have the
|
|
|
|
same dimensions as the display device resolution. Otherwise,
|
|
|
|
LVGL will perform a number of partial refreshes according to the
|
|
|
|
defined buffer size.
|
|
|
|
|
2021-04-05 15:13:30 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_ASYNC_FLUSH
|
|
|
|
bool "Flush the display buffer asynchronously"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable this option to perform an asynchronous write of the buffer
|
|
|
|
contents to the display device.
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
choice
|
|
|
|
prompt "Select a demo application"
|
2020-06-17 10:50:05 +02:00
|
|
|
default EXAMPLES_LVGLDEMO_WIDGETS
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-06-17 10:50:05 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_BENCHMARK
|
|
|
|
bool "Benchmark"
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-06-17 10:50:05 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_PRINTER
|
|
|
|
bool "Printer"
|
2019-04-08 14:57:42 +02:00
|
|
|
---help---
|
2020-06-17 10:50:05 +02:00
|
|
|
This demo is optimized for 800 * 480 resolution
|
2020-04-09 11:14:22 +02:00
|
|
|
|
2020-06-17 10:50:05 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_STRESS
|
|
|
|
bool "Stress"
|
2019-04-08 14:57:42 +02:00
|
|
|
|
2020-06-17 10:50:05 +02:00
|
|
|
config EXAMPLES_LVGLDEMO_WIDGETS
|
|
|
|
bool "Widgets"
|
2019-04-08 14:57:42 +02:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
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
|