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.
Direct dependencies¶
(I2C
&& BOARD_NATIVE_POSIX
) || I2C
(Includes any dependencies from ifs and menus.)
Default¶
y
Kconfig definitions¶
At boards/posix/native_posix/Kconfig.defconfig:89
Included via Kconfig:8
→ Kconfig.zephyr:22
Menu path: (Top)
config I2C_EMUL
bool
default y
depends on I2C && BOARD_NATIVE_POSIX
At drivers/i2c/Kconfig.i2c_emul:4
Included via Kconfig:8
→ Kconfig.zephyr:42
→ drivers/Kconfig:42
→ drivers/i2c/Kconfig:35
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.)