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  tags:
14    - samples
15    - display
16    - lvgl
17    - gui
18  harness_config:
19    fixture: fixture_display
20    type: one_line
21    regex:
22      - "\\[\\w+ free bytes, \\w+ allocated bytes, overhead = \\w+ bytes | lvgl in malloc mode\\]"
23tests:
24  sample.modules.lvgl.demo_music:
25    extra_configs:
26      - CONFIG_LV_Z_DEMO_MUSIC=y
27  sample.modules.lvgl.demo_benchmark:
28    extra_configs:
29      - CONFIG_LV_Z_DEMO_BENCHMARK=y
30      - CONFIG_LV_USE_DEMO_WIDGETS=y
31  sample.modules.lvgl.demo_stress:
32    extra_configs:
33      - CONFIG_LV_Z_DEMO_STRESS=y
34  sample.modules.lvgl.demo_widgets:
35    extra_configs:
36      - CONFIG_LV_Z_DEMO_WIDGETS=y
37  sample.modules.lvgl.demo_flex_layout:
38    extra_configs:
39      - CONFIG_LV_Z_DEMO_FLEX_LAYOUT=y
40  sample.modules.lvgl.demo_keypad_encoder:
41    extra_configs:
42      - CONFIG_LV_Z_DEMO_KEYPAD_AND_ENCODER=y
43  sample.modules.lvgl.demo_render:
44    extra_configs:
45      - CONFIG_LV_Z_DEMO_RENDER=y
46  sample.modules.lvgl.demo_scroll:
47    extra_configs:
48      - CONFIG_LV_Z_DEMO_SCROLL=y
49  sample.modules.lvgl.demo_multilang:
50    extra_configs:
51      - CONFIG_LV_Z_DEMO_MULTILANG=y
52  sample.modules.lvgl.demos.st_b_lcd40_dsi1_mb1166:
53    filter: dt_compat_enabled("orisetech,otm8009a")
54    platform_allow: stm32h747i_disco/stm32h747xx/m7
55    extra_args: SHIELD=st_b_lcd40_dsi1_mb1166
56    harness: console
57    harness_config:
58      fixture: fixture_display
59    extra_configs:
60      - CONFIG_LV_Z_DEMO_BENCHMARK=y
61    modules:
62      - lvgl
63    tags:
64      - samples
65      - display
66      - shield
67      - lvgl
68      - gui
69  sample.modules.lvgl.demos.st_b_lcd40_dsi1_mb1166_a09:
70    filter: dt_compat_enabled("frida,nt35510")
71    platform_allow: stm32h747i_disco/stm32h747xx/m7
72    extra_args: SHIELD=st_b_lcd40_dsi1_mb1166_a09
73    harness: console
74    harness_config:
75      fixture: fixture_display
76    extra_configs:
77      - CONFIG_LV_Z_DEMO_BENCHMARK=y
78    modules:
79      - lvgl
80    tags:
81      - samples
82      - display
83      - shield
84      - lvgl
85      - gui
86  sample.modules.lvgl.demos.rtkmipilcdb00000be:
87    platform_allow: ek_ra8d1
88    harness: console
89    harness_config:
90      fixture: fixture_display
91    extra_args: SHIELD=rtkmipilcdb00000be
92    modules:
93      - lvgl
94    tags:
95      - samples
96      - display
97      - shield
98      - lvgl
99      - gui
100