mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	SPI schema now uses typed_schema with type key (#6353)
				
					
				
			This commit is contained in:
		
							
								
								
									
										23
									
								
								tests/components/spi/test.esp32-s3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								tests/components/spi/test.esp32-s3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| spi: | ||||
|   - id: spi_id_1 | ||||
|     type: single | ||||
|     clk_pin: | ||||
|       number: GPIO7 | ||||
|       allow_other_uses: false | ||||
|     mosi_pin: GPIO6 | ||||
|     interface: hardware | ||||
|   - id: quad_spi | ||||
|     type: quad | ||||
|     clk_pin: 47 | ||||
|     interface: spi3 | ||||
|     data_pins: | ||||
|       - number: 40 | ||||
|         allow_other_uses: false | ||||
|       - 41 | ||||
|       - 42 | ||||
|       - 43 | ||||
|   - id: spi_id_3 | ||||
|     clk_pin: 8 | ||||
|     mosi_pin: 9 | ||||
|     interface: any | ||||
|  | ||||
		Reference in New Issue
	
	Block a user