Add testcases for multiple SPI buses on ESP32 Arduino (#5457)

This commit is contained in:
Angel Nunez Mencias 2023-09-30 03:48:51 +02:00 committed by GitHub
parent 0b5a57ead4
commit 2513ede3ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,10 +32,15 @@ i2c:
scan: false scan: false
spi: spi:
- id: spi_id_1
clk_pin: GPIO21 clk_pin: GPIO21
mosi_pin: GPIO22 mosi_pin: GPIO22
miso_pin: GPIO23 miso_pin: GPIO23
interface: hardware interface: hardware
- id: spi_id_2
clk_pin: GPIO32
mosi_pin: GPIO33
interface: hardware
uart: uart:
- id: uart115200 - id: uart115200
@ -92,6 +97,7 @@ sx1509:
address: 0x3E address: 0x3E
mcp3204: mcp3204:
spi_id: spi_id_1
cs_pin: GPIO23 cs_pin: GPIO23
dac7678: dac7678:
@ -495,6 +501,7 @@ display:
update_interval: 16ms update_interval: 16ms
- platform: waveshare_epaper - platform: waveshare_epaper
spi_id: spi_id_1
cs_pin: GPIO23 cs_pin: GPIO23
dc_pin: GPIO23 dc_pin: GPIO23
busy_pin: GPIO23 busy_pin: GPIO23
@ -504,6 +511,7 @@ display:
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());
- platform: waveshare_epaper - platform: waveshare_epaper
spi_id: spi_id_1
cs_pin: GPIO23 cs_pin: GPIO23
dc_pin: GPIO23 dc_pin: GPIO23
busy_pin: GPIO23 busy_pin: GPIO23
@ -514,6 +522,7 @@ display:
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());
- platform: waveshare_epaper - platform: waveshare_epaper
spi_id: spi_id_1
cs_pin: GPIO23 cs_pin: GPIO23
dc_pin: GPIO23 dc_pin: GPIO23
busy_pin: GPIO23 busy_pin: GPIO23
@ -523,6 +532,7 @@ display:
lambda: |- lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height()); it.rectangle(0, 0, it.get_width(), it.get_height());
- platform: waveshare_epaper - platform: waveshare_epaper
spi_id: spi_id_1
cs_pin: GPIO23 cs_pin: GPIO23
dc_pin: GPIO23 dc_pin: GPIO23
busy_pin: GPIO23 busy_pin: GPIO23
@ -673,6 +683,7 @@ touchscreen:
- platform: xpt2046 - platform: xpt2046
id: xpt_touchscreen id: xpt_touchscreen
spi_id: spi_id_2
cs_pin: 17 cs_pin: 17
interrupt_pin: 16 interrupt_pin: 16
display: inkplate_display display: inkplate_display