samples: display: lvgl: add min_flash/min_ram
LVGL eats a considerable amount of flash, so tests may fail on platforms that meet all requirements but that have a low amount of flash, e.g. nucleo_g071rb. Set min_flash for all cases to 250K (result of some quick experimentation). Also update minimum ram to exclude platforms that cannot run Zephyr + LVGL (e.g. those with just 16K). Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
062e2998b4
commit
aeb7475920
@ -4,5 +4,11 @@ sample:
|
||||
tests:
|
||||
sample.display.lvgl.gui:
|
||||
filter: dt_chosen_enabled("zephyr,display")
|
||||
# flash usage varies depending on the platform, but ~200K are the bare
|
||||
# minimum, give some room by adding 50K more. RAM usage depends largerly on
|
||||
# the display buffer, but a minimum is also required for the system itself.
|
||||
# ~25K seem to be sufficient for most cases, rounded to 32K.
|
||||
min_flash: 250
|
||||
min_ram: 32
|
||||
harness: none
|
||||
tags: samples display gui
|
||||
|
||||
Loading…
Reference in New Issue
Block a user