mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 00:31:58 +00:00
[nrf52, i2c] i2c support for nrf52 (#8150)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: Ludovic BOUÉ <lboue@users.noreply.github.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
11
tests/test_build_components/common/i2c/nrf52.yaml
Normal file
11
tests/test_build_components/common/i2c/nrf52.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for NRF52 tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: P0.04
|
||||
sda_pin: P0.05
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
Reference in New Issue
Block a user