1sample:
2  description: LVGL sample, containing all upstream demos
3  name: LVGL demos
4common:
5  modules:
6    - lvgl
7  harness: console
8  filter: dt_chosen_enabled("zephyr,display")
9  extra_args:
10    - platform:mimxrt1060_evk:SHIELD=rk043fn66hs_ctg
11    - platform:mimxrt1170_evk/mimxrt1176/cm7:SHIELD=rk055hdmipi4ma0
12    - platform:mimxrt595_evk/mimxrt595s/cm33:SHIELD=rk055hdmipi4ma0
13    - platform:mimxrt700_evk/mimxrt798s/cm33_cpu0:SHIELD=g1120b0mipi
14  tags:
15    - samples
16    - display
17    - lvgl
18    - gui
19  harness_config:
20    fixture: fixture_display
21    type: one_line
22    regex:
23      - "\\[\\w+ free bytes, \\w+ allocated bytes, overhead = \\w+ bytes | lvgl in malloc mode\\]"
24tests:
25  sample.modules.lvgl.demo_music:
26    extra_configs:
27      - CONFIG_LV_Z_DEMO_MUSIC=y
28  sample.modules.lvgl.demo_benchmark:
29    extra_configs:
30      - CONFIG_LV_Z_DEMO_BENCHMARK=y
31      - CONFIG_LV_USE_DEMO_WIDGETS=y
32  sample.modules.lvgl.demo_stress:
33    extra_configs:
34      - CONFIG_LV_Z_DEMO_STRESS=y
35  sample.modules.lvgl.demo_widgets:
36    extra_configs:
37      - CONFIG_LV_Z_DEMO_WIDGETS=y
38  sample.modules.lvgl.demo_keypad_encoder:
39    extra_configs:
40      - CONFIG_LV_Z_DEMO_KEYPAD_AND_ENCODER=y
41  sample.modules.lvgl.demo_render:
42    extra_configs:
43      - CONFIG_LV_Z_DEMO_RENDER=y
44  sample.modules.lvgl.demo_benchmark.lvgl_auto:
45    extra_configs:
46      - CONFIG_LV_Z_DEMO_BENCHMARK=y
47      - CONFIG_LV_USE_DEMO_WIDGETS=y
48      - CONFIG_LV_Z_RUN_LVGL_ON_WORKQUEUE=y
49      - CONFIG_LV_Z_LVGL_WORKQUEUE_STACK_SIZE=8192
50      - CONFIG_LV_Z_LVGL_WORKQUEUE_PRIORITY=0
51  sample.modules.lvgl.demos.st_b_lcd40_dsi1_mb1166:
52    filter: dt_compat_enabled("orisetech,otm8009a")
53    platform_allow: stm32h747i_disco/stm32h747xx/m7
54    extra_args: SHIELD=st_b_lcd40_dsi1_mb1166
55    extra_configs:
56      - CONFIG_LV_Z_DEMO_BENCHMARK=y
57    tags:
58      - shield
59  sample.modules.lvgl.demos.st_b_lcd40_dsi1_mb1166_a09:
60    filter: dt_compat_enabled("frida,nt35510")
61    platform_allow: stm32h747i_disco/stm32h747xx/m7
62    extra_args: SHIELD=st_b_lcd40_dsi1_mb1166_a09
63    extra_configs:
64      - CONFIG_LV_Z_DEMO_BENCHMARK=y
65    tags:
66      - shield
67  sample.modules.lvgl.demos.rtkmipilcdb00000be:
68    platform_allow:
69      - ek_ra8d1
70      - ek_ra8p1/r7ka8p1kflcac/cm85
71    extra_args: SHIELD=rtkmipilcdb00000be
72    tags:
73      - shield
74  sample.modules.lvgl.demos.rtk7eka6m3b00001bu:
75    platform_allow: ek_ra8d1
76    extra_args:
77      - SHIELD="rtk7eka6m3b00001bu;ek_ra8d1_rtk7eka6m3b00001bu"
78    extra_configs:
79      - CONFIG_LV_DEMO_MUSIC_LANDSCAPE=y
80    tags:
81      - shield
82  sample.modules.lvgl.demos.rtklcdpar1s00001be:
83    platform_allow:
84      - ek_ra8p1/r7ka8p1kflcac/cm85
85      - ek_ra8d2/r7ka8d2kflcac/cm85
86    harness: console
87    harness_config:
88      fixture: fixture_display
89    extra_args:
90      - SHIELD=rtklcdpar1s00001be
91    extra_configs:
92      - CONFIG_LV_DEMO_MUSIC_LANDSCAPE=y
93    tags:
94      - shield
95