mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
40
tests/components/rpi_dpi_rgb/common.yaml
Normal file
40
tests/components/rpi_dpi_rgb/common.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
psram:
|
||||
mode: octal
|
||||
speed: 80MHz
|
||||
display:
|
||||
- platform: rpi_dpi_rgb
|
||||
update_interval: never
|
||||
auto_clear_enabled: false
|
||||
id: rpi_display
|
||||
color_order: RGB
|
||||
rotation: 90
|
||||
dimensions:
|
||||
width: 800
|
||||
height: 480
|
||||
de_pin:
|
||||
number: 40
|
||||
hsync_pin: 39
|
||||
vsync_pin: 41
|
||||
pclk_pin: 42
|
||||
data_pins:
|
||||
red:
|
||||
- number: 45 # r1
|
||||
ignore_strapping_warning: true
|
||||
- 48 # r2
|
||||
- 47 # r3
|
||||
- 21 # r4
|
||||
- number: 14 # r5
|
||||
ignore_strapping_warning: false
|
||||
green:
|
||||
- 5 # g0
|
||||
- 6 # g1
|
||||
- 7 # g2
|
||||
- 15 # g3
|
||||
- 16 # g4
|
||||
- 4 # g5
|
||||
blue:
|
||||
- 8 # b1
|
||||
- 3 # b2
|
||||
- 46 # b3
|
||||
- 9 # b4
|
||||
- 1 # b5
|
@@ -1,40 +1 @@
|
||||
psram:
|
||||
mode: octal
|
||||
speed: 80MHz
|
||||
display:
|
||||
- platform: rpi_dpi_rgb
|
||||
update_interval: never
|
||||
auto_clear_enabled: false
|
||||
id: rpi_display
|
||||
color_order: RGB
|
||||
rotation: 90
|
||||
dimensions:
|
||||
width: 800
|
||||
height: 480
|
||||
de_pin:
|
||||
number: 40
|
||||
hsync_pin: 39
|
||||
vsync_pin: 41
|
||||
pclk_pin: 42
|
||||
data_pins:
|
||||
red:
|
||||
- number: 45 # r1
|
||||
ignore_strapping_warning: true
|
||||
- 48 # r2
|
||||
- 47 # r3
|
||||
- 21 # r4
|
||||
- number: 14 # r5
|
||||
ignore_strapping_warning: false
|
||||
green:
|
||||
- 5 # g0
|
||||
- 6 # g1
|
||||
- 7 # g2
|
||||
- 15 # g3
|
||||
- 16 # g4
|
||||
- 4 # g5
|
||||
blue:
|
||||
- 8 # b1
|
||||
- 3 # b2
|
||||
- 46 # b3
|
||||
- 9 # b4
|
||||
- 1 # b5
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user