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
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Littlev Graphics Library Demo"
|
2018-01-16 22:35:55 +01:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable build the Littlev Graphics Library Demo programs
|
|
|
|
|
|
|
|
if EXAMPLES_LVGLDEMO
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
choice
|
|
|
|
prompt "Select a demo application"
|
|
|
|
default EXAMPLES_LVGLDEMO_SIMPLE
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_SIMPLE
|
|
|
|
bool "Simple"
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1
|
|
|
|
bool "Single Theme"
|
|
|
|
---help---
|
|
|
|
Create a test screen with a lot objects and apply
|
|
|
|
the given theme on them
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_2
|
|
|
|
bool "Multiple Themes"
|
|
|
|
select LV_THEME_LIVE_UPDATE
|
|
|
|
---help---
|
|
|
|
Switch themes on the fly to demonstrate each different
|
|
|
|
themes. Configure multiple themes in the littlevgl
|
|
|
|
settings to use.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2018-01-16 22:35:55 +01:00
|
|
|
config EXAMPLES_LVGLDEMO_WALLPAPER
|
|
|
|
bool "Use wallpaper"
|
2019-04-08 14:57:42 +02:00
|
|
|
depends on EXAMPLES_LVGLDEMO_SIMPLE
|
2018-01-16 22:35:55 +01:00
|
|
|
default y
|
|
|
|
|
2019-04-08 14:57:42 +02:00
|
|
|
choice
|
|
|
|
prompt "Selected Theme"
|
|
|
|
depends on EXAMPLES_LVGLDEMO_THEME_1
|
|
|
|
default EXAMPLES_LVGLDEMO_THEME_1_DEFAULT
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_DEFAULT
|
|
|
|
bool "Default Theme"
|
|
|
|
select USE_LV_THEME_DEFAULT
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_ALIEN
|
|
|
|
bool "Alien"
|
|
|
|
select USE_LV_THEME_ALIEN
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_NIGHT
|
|
|
|
bool "Night"
|
|
|
|
select USE_LV_THEME_NIGHT
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_MONO
|
|
|
|
bool "Mono"
|
|
|
|
select USE_LV_THEME_MONO
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_MATERIAL
|
|
|
|
bool "Material"
|
|
|
|
select USE_LV_THEME_MATERIAL
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_ZEN
|
|
|
|
bool "Zen"
|
|
|
|
select USE_LV_THEME_ZEN
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_NEMO
|
|
|
|
bool "Nemo"
|
|
|
|
select USE_LV_THEME_NEMO
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config EXAMPLES_LVGLDEMO_THEME_1_HUE
|
|
|
|
int "Theme hue"
|
|
|
|
range 0 360
|
|
|
|
depends on EXAMPLES_LVGLDEMO_THEME_1
|
|
|
|
default 30
|
|
|
|
---help---
|
|
|
|
Choose a hue color from the HSV color space
|
|
|
|
|
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
|