mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 14:43:51 +00:00 
			
		
		
		
	[esp32_rmt] Updates for IDF 5+ (#7770)
Co-authored-by: Jonathan Swoboda <jonathan.swoboda> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
		| @@ -0,0 +1,8 @@ | ||||
| remote_transmitter: | ||||
|   - id: xmitr | ||||
|     pin: ${pin} | ||||
|     rmt_channel: ${rmt_channel} | ||||
|     carrier_duty_percent: 50% | ||||
|  | ||||
| packages: | ||||
|   buttons: !include common-buttons.yaml | ||||
							
								
								
									
										11
									
								
								tests/components/remote_transmitter/esp32-common-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								tests/components/remote_transmitter/esp32-common-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| remote_transmitter: | ||||
|   - id: xmitr | ||||
|     pin: ${pin} | ||||
|     carrier_duty_percent: 50% | ||||
|     clock_resolution: ${clock_resolution} | ||||
|     one_wire: ${one_wire} | ||||
|     rmt_symbols: ${rmt_symbols} | ||||
|     use_dma: ${use_dma} | ||||
|  | ||||
| packages: | ||||
|   buttons: !include common-buttons.yaml | ||||
| @@ -1,8 +0,0 @@ | ||||
| remote_transmitter: | ||||
|   id: rcvr | ||||
|   pin: ${pin} | ||||
|   rmt_channel: ${rmt_channel} | ||||
|   carrier_duty_percent: 50% | ||||
|  | ||||
| packages: | ||||
|   buttons: !include common-buttons.yaml | ||||
| @@ -3,4 +3,4 @@ substitutions: | ||||
|   rmt_channel: "2" | ||||
|  | ||||
| packages: | ||||
|   common: !include esp32-common.yaml | ||||
|   common: !include esp32-common-ard.yaml | ||||
|   | ||||
| @@ -3,4 +3,4 @@ substitutions: | ||||
|   rmt_channel: "1" | ||||
|  | ||||
| packages: | ||||
|   common: !include esp32-common.yaml | ||||
|   common: !include esp32-common-ard.yaml | ||||
|   | ||||
| @@ -1,6 +1,9 @@ | ||||
| substitutions: | ||||
|   pin: GPIO2 | ||||
|   rmt_channel: "1" | ||||
|   clock_resolution: "2000000" | ||||
|   one_wire: "true" | ||||
|   rmt_symbols: "64" | ||||
|   use_dma: "true" | ||||
|  | ||||
| packages: | ||||
|   common: !include esp32-common.yaml | ||||
|   common: !include esp32-common-idf.yaml | ||||
|   | ||||
| @@ -1,6 +1,9 @@ | ||||
| substitutions: | ||||
|   pin: GPIO2 | ||||
|   rmt_channel: "2" | ||||
|   clock_resolution: "2000000" | ||||
|   one_wire: "true" | ||||
|   rmt_symbols: "64" | ||||
|   use_dma: "true" | ||||
|  | ||||
| packages: | ||||
|   common: !include esp32-common.yaml | ||||
|   common: !include esp32-common-idf.yaml | ||||
|   | ||||
| @@ -1,6 +1,9 @@ | ||||
| substitutions: | ||||
|   pin: GPIO38 | ||||
|   rmt_channel: "3" | ||||
|   clock_resolution: "2000000" | ||||
|   one_wire: "true" | ||||
|   rmt_symbols: "64" | ||||
|   use_dma: "true" | ||||
|  | ||||
| packages: | ||||
|   common: !include esp32-common.yaml | ||||
|   common: !include esp32-common-idf.yaml | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| remote_transmitter: | ||||
|   id: trns | ||||
|   id: xmitr | ||||
|   pin: GPIO5 | ||||
|   carrier_duty_percent: 50% | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user