Skip to content

Commit

Permalink
samples: display: protect supported shields
Browse files Browse the repository at this point in the history
- waveshare_pico_lcd_1_14: Waveshare Pico LCD 1.14
- waveshare_pico_lcd_2: Waveshare Pico LCD 2
- waveshare_pico_restouch_lcd_3_5: Waveshare Pico ResTouch LCD 3.5
- waveshare_2_4_lcd: Waveshare 2.4 LCD

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed Jul 13, 2024
1 parent 47ae50d commit 3568c9d
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
54 changes: 54 additions & 0 deletions zephyr/alt-config/drivers/display/sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
sample:
name: Display Bit Order and Orientation
common:
tags:
- zephyr
- shield
- drivers
- display
depends_on: spi
harness: display
build_only: true
tests:
#
# shield: Waveshare Pico LCD 1.14
#
sample.drivers.display.waveshare_pico_lcd_1_14:
extra_args:
SHIELD=waveshare_pico_lcd_1_14
integration_platforms:
- rpi_pico
- rpi_pico/rp2040/w
- waveshare_rp2040_plus
- waveshare_rp2040_plus@16mb
#
# shield: Waveshare Pico LCD 2
#
sample.drivers.display.waveshare_pico_lcd_2:
extra_args:
SHIELD=waveshare_pico_lcd_2
integration_platforms:
- rpi_pico
- rpi_pico/rp2040/w
- waveshare_rp2040_plus
- waveshare_rp2040_plus@16mb
#
# shield: Waveshare Pico ResTouch LCD 3.5
#
sample.drivers.display.waveshare_pico_restouch_lcd_3_5:
extra_args:
SHIELD=waveshare_pico_restouch_lcd_3_5
integration_platforms:
- rpi_pico
- rpi_pico/rp2040/w
- waveshare_rp2040_plus
- waveshare_rp2040_plus@16mb
#
# shield: Waveshare 2.4 LCD
#
sample.drivers.display.waveshare_2_4_lcd:
extra_args:
SHIELD=waveshare_2_4_lcd
integration_platforms:
- cytron_maker_nano_rp2040
- cytron_maker_pi_rp2040
33 changes: 33 additions & 0 deletions zephyr/alt-config/subsys/input/input_dump/sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
sample:
name: Input Dump
common:
tags:
- zephyr
- shield
- input
build_only: true
depends_on: pico_gpio
harness: input
tests:
#
# shield: Waveshare Pico LCD 1.14
#
sample.input.input_dump.waveshare_pico_lcd_1_14:
extra_args:
SHIELD=waveshare_pico_lcd_1_14
integration_platforms:
- rpi_pico
- rpi_pico/rp2040/w
- waveshare_rp2040_plus
- waveshare_rp2040_plus@16mb
#
# shield: Waveshare Pico LCD 2
#
sample.input.input_dump.waveshare_pico_lcd_2:
extra_args:
SHIELD=waveshare_pico_lcd_2
integration_platforms:
- rpi_pico
- rpi_pico/rp2040/w
- waveshare_rp2040_plus
- waveshare_rp2040_plus@16mb

0 comments on commit 3568c9d

Please sign in to comment.