6ec4ff22e3
This emulator pretends a generic eSPI Host. It supports basic virtual wires and port80 operations. There are functions to trigger actions on the host side e.g. for setting a virtual wire from the host to the eSPI slave, use emul_espi_host_send_vw. It will prepare data and set a proper event on the slave side which will trigger callback (if there is any). Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
13 lines
330 B
CMake
13 lines
330 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_EMUL emul.c)
|
|
|
|
zephyr_include_directories_ifdef(CONFIG_EMUL_BMI160 ${ZEPHYR_BASE}/drivers/sensor/bmi160)
|
|
zephyr_library_sources_ifdef(CONFIG_EMUL_BMI160 emul_bmi160.c)
|
|
|
|
add_subdirectory(i2c)
|
|
add_subdirectory(spi)
|
|
add_subdirectory(espi)
|