zephyr/samples/drivers/display/sample.yaml
Maureen Helm c79b1a38aa samples: display: Convert driver and lvgl sample.yaml to use depends_on
Converts the display driver and lvgl sample.yaml to select boards for
the adafruit_2_8_tft_touch_v2 shield configuration by depending on the
arduino_{gpio,i2c,spi} features instead of using an explicit
platform_allow list. This will enable twister to automatically select
new boards that add support for Arduino ports.

The reel_board and reel_board_v2 are excluded due to a conflict between
display drivers (onboard display vs. shield display).

The ubx_evkannab1_nrf52832 board is excluded due to a conflict between
the arduino_spi and arduino_i2c ports, which cannot be used
simultaneously.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-05-19 08:14:25 -05:00

64 lines
1.9 KiB
YAML

sample:
description: Sample application for displays
name: display_sample
tests:
sample.display.shield.adafruit_2_8_tft_touch_v2:
depends_on: arduino_gpio arduino_i2c arduino_spi
platform_exclude: reel_board reel_board_v2 ubx_evkannab1_nrf52832
extra_args: SHIELD=adafruit_2_8_tft_touch_v2
tags: display shield
harness: console
harness_config:
fixture: fixture_display
sample.display.shield.ssd1306_128x32:
platform_allow: nrf52840dk_nrf52840
extra_args: SHIELD=ssd1306_128x32
tags: display shield
harness: console
harness_config:
fixture: fixture_display
sample.display.shield.ssd1306_128x64:
platform_allow: nrf52840dk_nrf52840
extra_args: SHIELD=ssd1306_128x64
tags: display shield
harness: console
harness_config:
fixture: fixture_display
sample.display.shield.waveshare_epaper_gdeh0213b1:
platform_allow: nrf52840dk_nrf52840
extra_args: SHIELD=waveshare_epaper_gdeh0213b1
harness: console
harness_config:
fixture: fixture_display
sample.display.st7789v_tl019fqv01:
platform_allow: nrf52dk_nrf52832
extra_args: SHIELD=st7789v_tl019fqv01
tags: display shield
harness: console
harness_config:
fixture: fixture_display
sample.display.st7789v_waveshare_240x240:
platform_allow: nrf52dk_nrf52832
extra_args: SHIELD=st7789v_waveshare_240x240
tags: display shield
harness: console
harness_config:
fixture: fixture_display
sample.display.mcux_elcdif:
platform_allow: mimxrt1050_evk
tags: display
harness: console
harness_config:
fixture: fixture_display
sample.display.sdl:
build_only: true
platform_allow: native_posix_64
tags: display
sample.display.dummy:
platform_allow: native_posix
extra_configs:
- CONFIG_DUMMY_DISPLAY=y
- CONFIG_SDL_DISPLAY=n
- CONFIG_TEST=y
tags: display