mirror of
https://github.com/esphome/esphome.git
synced 2025-10-16 16:53:47 +01:00
common
This commit is contained in:
13
tests/test_build_components/common/uart/esp32-c3-idf.yaml
Normal file
13
tests/test_build_components/common/uart/esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Common UART configuration for ESP32-C3 IDF tests
|
||||
# Provides a shared UART bus that components can use
|
||||
# Components will auto-use this bus if they don't specify uart_id
|
||||
|
||||
substitutions:
|
||||
tx_pin: GPIO20
|
||||
rx_pin: GPIO21
|
||||
|
||||
uart:
|
||||
- id: uart_bus
|
||||
tx_pin: ${tx_pin}
|
||||
rx_pin: ${rx_pin}
|
||||
baud_rate: 9600
|
Reference in New Issue
Block a user