1# Copyright (c) 2023 Fabian Blatz <fabianblatz@gmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4choice LV_Z_DEMO 5 prompt "LVGL demo to build" 6 default LV_Z_DEMO_MUSIC 7 help 8 Demo application to build. 9 10config LV_Z_DEMO_MUSIC 11 bool "LVGL music demo" 12 select LV_USE_DEMO_MUSIC 13 help 14 Build music player demo application. 15 16config LV_Z_DEMO_BENCHMARK 17 bool "LVGL benchmark demo" 18 select LV_USE_DEMO_BENCHMARK 19 select LV_USE_DEMO_WIDGETS 20 imply LV_USE_PERF_MONITOR 21 imply LV_USE_SYSMON 22 help 23 Build benchmarking demo application. 24 25config LV_Z_DEMO_STRESS 26 bool "LVGL stress demo" 27 select LV_USE_DEMO_STRESS 28 help 29 Build stress testing demo application. 30 31config LV_Z_DEMO_WIDGETS 32 bool "LVGL widgets demo" 33 select LV_USE_DEMO_WIDGETS 34 help 35 Build widgets demo application. 36 37config LV_Z_DEMO_KEYPAD_AND_ENCODER 38 bool "LVGL keypad and encoder demo" 39 select LV_USE_DEMO_KEYPAD_AND_ENCODER 40 help 41 Build keypad and encoder demo application. 42 43config LV_Z_DEMO_RENDER 44 bool "LVGL render demo" 45 select LV_USE_DEMO_RENDER 46 help 47 Build render demo application. 48 49endchoice 50 51if LV_Z_DEMO_RENDER 52 53config LV_Z_DEMO_RENDER_SCENE_DYNAMIC 54 bool "Switch scenes dynamically" 55 help 56 Switch between scenes to render dynamically. 57 58config LV_Z_DEMO_RENDER_SCENE_INDEX 59 int "Index of the rendered scene" 60 depends on !LV_Z_DEMO_RENDER_SCENE_DYNAMIC 61 default 0 62 range 0 11 63 help 64 Render scene by its index (refer to lv_demo_render.h) 65 66config LV_Z_DEMO_RENDER_DYNAMIC_SCENE_TIMEOUT 67 int "Seconds each rendered scene is shown" 68 depends on LV_Z_DEMO_RENDER_SCENE_DYNAMIC 69 default 3 70 help 71 Seconds each rendered scenar is shown 72 73endif 74 75source "Kconfig.zephyr" 76