mirror of
https://github.com/esphome/esphome.git
synced 2025-10-17 09:13:45 +01:00
add modbus
This commit is contained in:
13
tests/test_build_components/common/modbus/esp32-idf.yaml
Normal file
13
tests/test_build_components/common/modbus/esp32-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Common Modbus configuration for ESP32 IDF tests
|
||||
# Provides a shared Modbus bus that all components can use
|
||||
|
||||
packages:
|
||||
uart: !include ../uart/esp32-idf.yaml
|
||||
|
||||
substitutions:
|
||||
flow_control_pin: GPIO4
|
||||
|
||||
modbus:
|
||||
- id: modbus_bus
|
||||
uart_id: uart_bus
|
||||
flow_control_pin: ${flow_control_pin}
|
Reference in New Issue
Block a user