-
CONFIG_SPI_EMUL
¶
SPI emulator
Type: bool
Help¶
Enable the SPI 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 SPI bus. It is used for testing drivers for SPI devices.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/drivers/spi/Kconfig.spi_emul:4
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:32
→ <Zephyr>/drivers/Kconfig:38
→ <Zephyr>/drivers/spi/Kconfig:210
Menu path: (Top) → Device Drivers → SPI hardware bus support
config SPI_EMUL
bool "SPI emulator"
depends on SPI
help
Enable the SPI 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 SPI bus. It is
used for testing drivers for SPI devices.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)