zephyr/tests/drivers/i2c/i2c_slave_api/testcase.yaml
Peter Bigot e0fd918bbd tests: i2c_slave_api: make dual role support optional
Not all I2C controllers that support dual roles allow a controller to
be used in both modes without reconfiguration: for some, registering a
slave device prevents use in master mode.  Refactor so that dual-role
operation is opt-in, and select it for the ST devices currently in the
allow list.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-01-21 09:27:35 -06:00

13 lines
266 B
YAML

common:
depends_on: i2c
tags: drivers i2c
harness: ztest
harness_config:
fixture: i2c_bus_short
tests:
drivers.i2c_slave.dual_role:
platform_allow: nucleo_f091rc stm32f072b_disco nucleo_g071rb
extra_configs:
- CONFIG_APP_DUAL_ROLE_I2C=y