1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01: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:
Jonathan Swoboda
2024-12-18 21:31:22 -05:00
committed by GitHub
parent 61499dbdd8
commit 265b6ec445
33 changed files with 817 additions and 379 deletions

View File

@@ -0,0 +1,8 @@
remote_transmitter:
- id: xmitr
pin: ${pin}
rmt_channel: ${rmt_channel}
carrier_duty_percent: 50%
packages:
buttons: !include common-buttons.yaml

View 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

View File

@@ -1,8 +0,0 @@
remote_transmitter:
id: rcvr
pin: ${pin}
rmt_channel: ${rmt_channel}
carrier_duty_percent: 50%
packages:
buttons: !include common-buttons.yaml

View File

@@ -3,4 +3,4 @@ substitutions:
rmt_channel: "2"
packages:
common: !include esp32-common.yaml
common: !include esp32-common-ard.yaml

View File

@@ -3,4 +3,4 @@ substitutions:
rmt_channel: "1"
packages:
common: !include esp32-common.yaml
common: !include esp32-common-ard.yaml

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,5 +1,5 @@
remote_transmitter:
id: trns
id: xmitr
pin: GPIO5
carrier_duty_percent: 50%