1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[esp32_rmt] Add variant validation for use_dma (#8897)

This commit is contained in:
Jonathan Swoboda
2025-06-10 22:00:59 -04:00
committed by GitHub
parent b579bbf03b
commit ad37f103fa
16 changed files with 53 additions and 17 deletions

View File

@@ -2,4 +2,5 @@ substitutions:
pin1: GPIO13
pin2: GPIO14
<<: !include common-ard.yaml
packages:
common: !include common-ard.yaml

View File

@@ -2,4 +2,5 @@ substitutions:
pin1: GPIO3
pin2: GPIO4
<<: !include common-ard.yaml
packages:
common: !include common-ard.yaml

View File

@@ -2,4 +2,5 @@ substitutions:
pin1: GPIO3
pin2: GPIO4
<<: !include common-idf.yaml
packages:
common: !include common-idf.yaml

View File

@@ -2,4 +2,5 @@ substitutions:
pin1: GPIO13
pin2: GPIO14
<<: !include common-idf.yaml
packages:
common: !include common-idf.yaml

View File

@@ -0,0 +1,12 @@
substitutions:
pin1: GPIO3
pin2: GPIO4
packages:
common: !include common-idf.yaml
light:
- id: !extend led_strip1
use_dma: "true"
- id: !extend led_strip2
use_dma: "false"

View File

@@ -7,7 +7,6 @@ remote_receiver:
filter_symbols: ${filter_symbols}
receive_symbols: ${receive_symbols}
rmt_symbols: ${rmt_symbols}
use_dma: ${use_dma}
<<: !include common-actions.yaml
binary_sensor:

View File

@@ -4,7 +4,6 @@ substitutions:
filter_symbols: "2"
receive_symbols: "4"
rmt_symbols: "64"
use_dma: "true"
packages:
common: !include esp32-common-idf.yaml

View File

@@ -4,7 +4,6 @@ substitutions:
filter_symbols: "2"
receive_symbols: "4"
rmt_symbols: "64"
use_dma: "true"
packages:
common: !include esp32-common-idf.yaml

View File

@@ -4,7 +4,10 @@ substitutions:
filter_symbols: "2"
receive_symbols: "4"
rmt_symbols: "64"
use_dma: "true"
packages:
common: !include esp32-common-idf.yaml
remote_receiver:
- id: !extend rcvr
use_dma: "true"

View File

@@ -4,7 +4,6 @@ remote_transmitter:
carrier_duty_percent: 50%
clock_resolution: ${clock_resolution}
rmt_symbols: ${rmt_symbols}
use_dma: ${use_dma}
packages:
buttons: !include common-buttons.yaml

View File

@@ -2,7 +2,6 @@ substitutions:
pin: GPIO2
clock_resolution: "2000000"
rmt_symbols: "64"
use_dma: "true"
packages:
common: !include esp32-common-idf.yaml

View File

@@ -2,7 +2,6 @@ substitutions:
pin: GPIO2
clock_resolution: "2000000"
rmt_symbols: "64"
use_dma: "true"
packages:
common: !include esp32-common-idf.yaml

View File

@@ -2,7 +2,10 @@ substitutions:
pin: GPIO38
clock_resolution: "2000000"
rmt_symbols: "64"
use_dma: "true"
packages:
common: !include esp32-common-idf.yaml
remote_transmitter:
- id: !extend xmitr
use_dma: "true"