mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
common
This commit is contained in:
11
tests/test_build_components/common/i2c/esp32-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO22
|
||||
sda_pin: GPIO21
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-c3-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-C3 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO8
|
||||
sda_pin: GPIO10
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
5
tests/test_build_components/common/i2c/esp32-c3-idf.yaml
Normal file
5
tests/test_build_components/common/i2c/esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
# Common I2C configuration for ESP32-C3 IDF tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO8
|
||||
sda_pin: GPIO10
|
||||
13
tests/test_build_components/common/i2c/esp32-idf.yaml
Normal file
13
tests/test_build_components/common/i2c/esp32-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Common I2C configuration for ESP32 IDF tests
|
||||
# Provides a shared I2C bus that all components can use
|
||||
# Components will auto-use this bus if they don't specify i2c_id
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp8266-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp8266-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP8266 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/rp2040-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/rp2040-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for RP2040 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
Reference in New Issue
Block a user