mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 14:53:49 +01:00
16 lines
371 B
YAML
16 lines
371 B
YAML
# Common SPI configuration for ESP32 IDF tests
|
|
# Provides a shared SPI bus that all components can use
|
|
# Components will auto-use this bus if they don't specify spi_id
|
|
# CS pins are component-specific
|
|
|
|
substitutions:
|
|
clk_pin: GPIO18
|
|
mosi_pin: GPIO23
|
|
miso_pin: GPIO19
|
|
|
|
spi:
|
|
- id: spi_bus
|
|
clk_pin: ${clk_pin}
|
|
mosi_pin: ${mosi_pin}
|
|
miso_pin: ${miso_pin}
|