-
CONFIG_I2C_EMUL
¶
I2C emulator
Type: bool
Help¶
Enable the I2C emulator driver. This is a fake driver in that it does not talk to real hardware. Instead it talks to emulation drivers that pretend to be devices on the emulated I2C bus. It is used for testing drivers for I2C devices.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/drivers/i2c/Kconfig.i2c_emul:4
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:40
→ <Zephyr>/drivers/i2c/Kconfig:34
Menu path: (Top) → Device Drivers → I2C Drivers
config I2C_EMUL
bool "I2C emulator"
depends on I2C
help
Enable the I2C emulator driver. This is a fake driver in that it
does not talk to real hardware. Instead it talks to emulation
drivers that pretend to be devices on the emulated I2C bus. It is
used for testing drivers for I2C devices.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)