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>
This commit is contained in:
parent
75c04e7f0d
commit
c79b1a38aa
2 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,8 @@ sample:
|
||||||
name: display_sample
|
name: display_sample
|
||||||
tests:
|
tests:
|
||||||
sample.display.shield.adafruit_2_8_tft_touch_v2:
|
sample.display.shield.adafruit_2_8_tft_touch_v2:
|
||||||
platform_allow: nrf52840dk_nrf52840 mimxrt685_evk_cm33 frdm_k64f
|
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
|
extra_args: SHIELD=adafruit_2_8_tft_touch_v2
|
||||||
tags: display shield
|
tags: display shield
|
||||||
harness: console
|
harness: console
|
||||||
|
|
|
@ -7,7 +7,8 @@ tests:
|
||||||
platform_allow: reel_board mimxrt1050_evk mimxrt1060_evk mimxrt1064_evk
|
platform_allow: reel_board mimxrt1050_evk mimxrt1060_evk mimxrt1064_evk
|
||||||
tags: samples display gui
|
tags: samples display gui
|
||||||
sample.display.adafruit_2_8_tft_touch_v2:
|
sample.display.adafruit_2_8_tft_touch_v2:
|
||||||
platform_allow: nrf52840dk_nrf52840 mimxrt685_evk_cm33 frdm_k64f
|
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
|
extra_args: SHIELD=adafruit_2_8_tft_touch_v2
|
||||||
tags: shield
|
tags: shield
|
||||||
sample.display.waveshare_epaper_gdeh0213b1:
|
sample.display.waveshare_epaper_gdeh0213b1:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue