mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
60
tests/components/st7701s/common.yaml
Normal file
60
tests/components/st7701s/common.yaml
Normal file
@@ -0,0 +1,60 @@
|
||||
psram:
|
||||
mode: octal
|
||||
speed: 80MHz
|
||||
spi:
|
||||
- id: lcd_spi
|
||||
clk_pin: 41
|
||||
mosi_pin: 48
|
||||
|
||||
i2c:
|
||||
sda: 39
|
||||
scl: 40
|
||||
scan: false
|
||||
id: bus_a
|
||||
|
||||
pca9554:
|
||||
- id: p_c_a
|
||||
pin_count: 16
|
||||
address: 0x20
|
||||
|
||||
display:
|
||||
- platform: st7701s
|
||||
spi_mode: MODE3
|
||||
color_order: RGB
|
||||
dimensions:
|
||||
width: 480
|
||||
height: 480
|
||||
invert_colors: true
|
||||
transform:
|
||||
mirror_x: true
|
||||
mirror_y: true
|
||||
cs_pin:
|
||||
pca9554: p_c_a
|
||||
number: 4
|
||||
reset_pin:
|
||||
pca9554: p_c_a
|
||||
number: 5
|
||||
de_pin: 18
|
||||
hsync_pin: 16
|
||||
vsync_pin: 17
|
||||
pclk_pin: 21
|
||||
init_sequence: 1
|
||||
data_pins:
|
||||
- number: 0
|
||||
ignore_strapping_warning: true
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- number: 4
|
||||
ignore_strapping_warning: false
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
- 10
|
||||
- 11
|
||||
- 12
|
||||
- 13
|
||||
- 14
|
||||
- 15
|
||||
@@ -1,60 +1 @@
|
||||
psram:
|
||||
mode: octal
|
||||
speed: 80MHz
|
||||
spi:
|
||||
- id: lcd_spi
|
||||
clk_pin: 41
|
||||
mosi_pin: 48
|
||||
|
||||
i2c:
|
||||
sda: 39
|
||||
scl: 40
|
||||
scan: false
|
||||
id: bus_a
|
||||
|
||||
pca9554:
|
||||
- id: p_c_a
|
||||
pin_count: 16
|
||||
address: 0x20
|
||||
|
||||
display:
|
||||
- platform: st7701s
|
||||
spi_mode: MODE3
|
||||
color_order: RGB
|
||||
dimensions:
|
||||
width: 480
|
||||
height: 480
|
||||
invert_colors: true
|
||||
transform:
|
||||
mirror_x: true
|
||||
mirror_y: true
|
||||
cs_pin:
|
||||
pca9554: p_c_a
|
||||
number: 4
|
||||
reset_pin:
|
||||
pca9554: p_c_a
|
||||
number: 5
|
||||
de_pin: 18
|
||||
hsync_pin: 16
|
||||
vsync_pin: 17
|
||||
pclk_pin: 21
|
||||
init_sequence: 1
|
||||
data_pins:
|
||||
- number: 0
|
||||
ignore_strapping_warning: true
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- number: 4
|
||||
ignore_strapping_warning: false
|
||||
- 5
|
||||
- 6
|
||||
- 7
|
||||
- 8
|
||||
- 9
|
||||
- 10
|
||||
- 11
|
||||
- 12
|
||||
- 13
|
||||
- 14
|
||||
- 15
|
||||
<<: !include common.yaml
|
||||
|
||||
Reference in New Issue
Block a user