mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			76 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # Tests for ESP32-C3 boards - IDf
 | |
| ---
 | |
| wifi:
 | |
|   ssid: "ssid"
 | |
| 
 | |
| network:
 | |
|   enable_ipv6: true
 | |
| 
 | |
| esp32:
 | |
|   board: lolin_c3_mini
 | |
|   variant: ESP32C3
 | |
|   framework:
 | |
|     type: esp-idf
 | |
| 
 | |
| esphome:
 | |
|   name: esp32-c3-test
 | |
| 
 | |
| logger:
 | |
| 
 | |
| debug:
 | |
| 
 | |
| psram:
 | |
| 
 | |
| spi:
 | |
|   - id: spi_id_1
 | |
|     clk_pin:
 | |
|       number:  GPIO7
 | |
|       allow_other_uses: false
 | |
|     mosi_pin: GPIO6
 | |
|     interface: any
 | |
| 
 | |
| spi_device:
 | |
|   id: spidev
 | |
|   data_rate: 2MHz
 | |
|   spi_id: spi_id_1
 | |
|   mode: 3
 | |
|   bit_order: lsb_first
 | |
| 
 | |
| display:
 | |
|   - platform: ili9xxx
 | |
|     id: displ8
 | |
|     model: ili9342
 | |
|     cs_pin: GPIO5
 | |
|     dc_pin: GPIO4
 | |
|     reset_pin:
 | |
|       number: GPIO21
 | |
| 
 | |
| i2c:
 | |
|   scl: GPIO18
 | |
|   sda: GPIO8
 | |
| 
 | |
| touchscreen:
 | |
|   - platform: tt21100
 | |
|     display: displ8
 | |
|     interrupt_pin:
 | |
|       number: GPIO3
 | |
|       allow_other_uses: false
 | |
|     reset_pin:
 | |
|       number: GPIO20
 | |
| 
 | |
| binary_sensor:
 | |
|   - platform: tt21100
 | |
|     name: Home Button
 | |
|     index: 1
 | |
| 
 | |
| sensor:
 | |
|   - platform: debug
 | |
|     free:
 | |
|       name: "Heap Free"
 | |
|     block:
 | |
|       name: "Max Block Free"
 | |
|     loop_time:
 | |
|       name: "Loop Time"
 | |
|     psram:
 | |
|       name: "PSRAM Free"
 |