mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 14:53:49 +01:00
common
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
substitutions:
|
packages:
|
||||||
tx_pin: GPIO17
|
uart: !include ../../test_build_components/common/uart/esp32-ard.yaml
|
||||||
rx_pin: GPIO16
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
<<: !include common.yaml
|
||||||
|
11
tests/test_build_components/common/uart/esp32-ard.yaml
Normal file
11
tests/test_build_components/common/uart/esp32-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Common UART configuration for ESP32 Arduino tests
|
||||||
|
|
||||||
|
substitutions:
|
||||||
|
tx_pin: GPIO17
|
||||||
|
rx_pin: GPIO16
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_bus
|
||||||
|
tx_pin: ${tx_pin}
|
||||||
|
rx_pin: ${rx_pin}
|
||||||
|
baud_rate: 9600
|
11
tests/test_build_components/common/uart/esp32-c3-ard.yaml
Normal file
11
tests/test_build_components/common/uart/esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Common UART configuration for ESP32-C3 Arduino tests
|
||||||
|
|
||||||
|
substitutions:
|
||||||
|
tx_pin: GPIO20
|
||||||
|
rx_pin: GPIO21
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_bus
|
||||||
|
tx_pin: ${tx_pin}
|
||||||
|
rx_pin: ${rx_pin}
|
||||||
|
baud_rate: 9600
|
11
tests/test_build_components/common/uart/esp8266-ard.yaml
Normal file
11
tests/test_build_components/common/uart/esp8266-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Common UART configuration for ESP8266 Arduino tests
|
||||||
|
|
||||||
|
substitutions:
|
||||||
|
tx_pin: GPIO1
|
||||||
|
rx_pin: GPIO3
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_bus
|
||||||
|
tx_pin: ${tx_pin}
|
||||||
|
rx_pin: ${rx_pin}
|
||||||
|
baud_rate: 9600
|
11
tests/test_build_components/common/uart/rp2040-ard.yaml
Normal file
11
tests/test_build_components/common/uart/rp2040-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Common UART configuration for RP2040 Arduino tests
|
||||||
|
|
||||||
|
substitutions:
|
||||||
|
tx_pin: GPIO0
|
||||||
|
rx_pin: GPIO1
|
||||||
|
|
||||||
|
uart:
|
||||||
|
- id: uart_bus
|
||||||
|
tx_pin: ${tx_pin}
|
||||||
|
rx_pin: ${rx_pin}
|
||||||
|
baud_rate: 9600
|
Reference in New Issue
Block a user