mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-28 21:53:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			371 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			371 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Common SPI configuration for ESP32-C3 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: GPIO4
 | |
|   mosi_pin: GPIO6
 | |
|   miso_pin: GPIO5
 | |
| 
 | |
| spi:
 | |
|   - id: spi_bus
 | |
|     clk_pin: ${clk_pin}
 | |
|     mosi_pin: ${mosi_pin}
 | |
|     miso_pin: ${miso_pin}
 |